-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
132 lines (113 loc) · 3.16 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
# Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
name = "ansys-sound-core"
version = "0.1.dev0"
description = "A Python wrapper for Ansys DPF Sound."
readme = "README.rst"
requires-python = ">=3.10,<4"
license = { file = "LICENSE" }
authors = [{ name = "ANSYS, Inc.", email = "[email protected]" }]
maintainers = [{ name = "ANSYS, Inc.", email = "[email protected]" }]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"ansys-dpf-core>=0.9.0,<1",
"matplotlib>=3.8.2,<4",
"platformdirs>=3.6.0",
]
[project.optional-dependencies]
tests = [
"ansys-dpf-core==0.13.3",
"matplotlib==3.10.0",
"pytest==8.3.4",
"pytest-cov==6.0.0",
"pytest-dependency==0.6.0",
"platformdirs==4.3.6",
"regex==2024.11.6",
]
doc = [
"Sphinx==8.1.3",
"ansys-sphinx-theme==1.2.4",
"numpydoc==1.8.0",
"sphinx-autodoc-typehints==3.0.0",
"sphinx-copybutton==0.5.2",
"sphinx-gallery==0.18.0",
"sphinx-design==0.6.1",
"vtk==9.3.1",
"trame==3.7.6",
"trame_vtk==2.8.12",
"pyvista==0.44.2",
"pypandoc==1.14",
"jupyter-sphinx==0.5.3",
"sphinx-autobuild==2024.10.3",
"platformdirs==4.3.6"
]
[tool.flit.module]
name = "ansys.sound.core"
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
force_sort_within_sections = true
line_length = 100
default_section = "THIRDPARTY"
src_paths = ["doc", "src", "tests"]
[tool.coverage.run]
source = ["ansys.sound.core"]
[tool.coverage.report]
show_missing = true
[tool.pytest.ini_options]
minversion = "7.1"
addopts = "-ra --cov=ansys.sound.core --cov-report html:.cov/html --cov-report xml:.cov/xml --cov-report term -vv"
testpaths = ["tests"]
[tool.towncrier]
directory = "doc/changelog.d"
filename = "CHANGELOG.md"
start_string = "<!-- towncrier release notes start -->\n"
underlines = ["", "", ""]
template = "doc/changelog.d/changelog_template.jinja"
title_format = "## [{version}](https://github.com/ansys/pyansys-sound/releases/tag/v{version}) - {project_date}"
issue_format = "[#{issue}](https://github.com/ansys/pyansys-sound/pull/{issue})"
package = "ansys.sound.core"
[[tool.towncrier.type]]
directory = "added"
name = "Added"
showcontent = true
[[tool.towncrier.type]]
directory = "changed"
name = "Changed"
showcontent = true
[[tool.towncrier.type]]
directory = "fixed"
name = "Fixed"
showcontent = true
[[tool.towncrier.type]]
directory = "dependencies"
name = "Dependencies"
showcontent = true
[[tool.towncrier.type]]
directory = "miscellaneous"
name = "Miscellaneous"
showcontent = true
[[tool.towncrier.type]]
directory = "documentation"
name = "Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "maintenance"
name = "Maintenance"
showcontent = true
[[tool.towncrier.type]]
directory = "test"
name = "Test"
showcontent = true