-
Notifications
You must be signed in to change notification settings - Fork 39
/
pyproject.toml
173 lines (151 loc) · 4.74 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
# Check https://python-poetry.org/docs/pyproject/ for all available sections
name = "ansys-fluent-core"
version = "0.21.dev1"
description = "PyFluent provides Pythonic access to Ansys Fluent"
license = "MIT"
authors = ["ANSYS, Inc. <ansys.support@ansys.com>"]
maintainers = ["PyAnsys developers <pyansys.maintainers@ansys.com>"]
readme = "README.rst"
repository = "https://github.com/ansys/pyfluent"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
include = [
{ path = "src/ansys/fluent/core/generated/fluent_version_*.py", format = ["sdist", "wheel"] },
{ path = "src/ansys/fluent/core/generated/meshing/tui_*.py", format = ["sdist", "wheel"] },
{ path = "src/ansys/fluent/core/generated/solver/tui_*.py", format = ["sdist", "wheel"] },
{ path = "src/ansys/fluent/core/generated/datamodel_*/*.py", format = ["sdist", "wheel"] },
{ path = "src/ansys/fluent/core/generated/solver/settings_*/*.py", format = ["sdist", "wheel"] },
{ path = "src/ansys/fluent/core/generated/solver/settings_*/*.pyi", format = ["sdist", "wheel"] },
{ path = "src/ansys/fluent/core/generated/*.pickle", format = ["sdist", "wheel"] },
{ path = "src/ansys/fluent/core/generated/api_tree/*.txt", format = ["sdist", "wheel"] },
]
packages = [
{ include = "ansys", from = "src" },
{ include = "tests", to = "ansys/fluent" },
{ include = "README.rst", to = "ansys/fluent/core/docs" },
]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
importlib-metadata = {version = "^7.0.1", python = "<3.9"}
ansys-api-fluent = "^0.3.22"
ansys-platform-instancemanagement = "^1.0"
ansys-tools-filetransfer = ">=0.1,<0.3"
ansys-units = "^0.3.2"
alive-progress = "^3.1.5"
beartype = "^0.17"
docker = "^6.1.3"
grpcio = "^1.30.0"
grpcio-health-checking = "^1.30.0"
h5py = { version = "==3.11.0", optional = true }
lxml = "^4.9.2"
nltk = "^3.8.1"
numpy= "^1.21.5"
pandas = "^2.0.3"
platformdirs = "^3.5.1"
psutil = "^5.9.5"
pyyaml = "^6.0"
requests = "==2.31.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
Sphinx = "==7.2.6"
jupyter_sphinx = "==0.5.3"
numpydoc = "==1.6.0"
matplotlib = "==3.8.2"
ansys-sphinx-theme = "==0.13.2"
pypandoc = "==1.12"
pytest-sphinx = "==0.5.0"
sphinx-autobuild = "==2021.3.14"
sphinx-autodoc-typehints = "==1.25.3"
sphinx-copybutton = "==0.5.2"
sphinx-gallery = "==0.15.0"
sphinx-notfound-page = "==1.0.0"
sphinxcontrib-websupport = "==1.2.7"
sphinxemoji = "==0.3.1"
sphinx-toggleprompt = "==0.5.2"
autodocsumm = "==0.2.12"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "==8.0.2"
pytest-cov = "==4.1.0"
pytest-mock = "==3.12.0"
pytest-xdist = "==3.6.1"
[tool.poetry.extras]
reader = ["h5py"]
tests = ["pytest", "pytest-cov", "pytest-mock", "pytest-xdist"]
[tool.poetry.urls]
"Documentation" = "https://fluent.docs.pyansys.com/"
"Source" = "https://github.com/ansys/pyfluent"
"Tracker" = "https://github.com/ansys/pyfluent/issues"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = """
-v
--durations=0
--show-capture=all
-n auto
"""
markers = [
"settings_only: Read and modify the case settings only, without loading the mesh, initializing, or solving the case",
"nightly: Tests that run under nightly CI",
"codegen_required: Tests that requires codegen",
"fluent_version(version): Tests that runs with specified Fluent version",
"standalone: Tests that cannot be run within container"
]
[tool.black]
extend-exclude = "/(src/ansys/fluent/core/meshing/tui*|src/ansys/fluent/core/solver/tui*|src/ansys/fluent/core/solver/settings*|src/ansys/fluent/core/datamodel*)/"
[tool.isort]
profile = "black"
force_sort_within_sections = true
line_length = 88
default_section = "THIRDPARTY"
skip_glob = [
"src/ansys/fluent/core/generated"
]
filter_files = "true"
known_first_party = ["ansys"]
[tool.codespell]
skip = """
*.xml,
./src/ansys/fluent/core/generated/*,
./src/ansys/fluent/core/codegen/data/fluent_gui_help.xml,
"""
ignore-words = ".github/styles/config/vocabularies/ANSYS/accept.txt"
[tool.docformatter]
in-place = "true"
exclude = [
"tests/",
"src/ansys/fluent/core/generated/",
]
black = "true"
non-cap = [
"initDatamodel",
"getAttributeValue",
"getState",
"setState",
"updateDict",
"deleteObject",
"executeCommand",
"createCommandArguments",
"deleteCommandArguments",
"getSpecs",
"getStaticInfo",
"subscribeEvents",
"unsubscribeEvents"
]
[tool.coverage.run]
source = ["ansys/fluent"]
omit = [
"*/ansys/fluent/core/generated/*",
]
[tool.coverage.report]
show_missing = true