-
Notifications
You must be signed in to change notification settings - Fork 87
/
pyproject.toml
142 lines (132 loc) · 4.46 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
[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 = "pyansys"
version = "2025.1.dev0"
description = "Pythonic interfaces to Ansys products"
readme = "README.rst"
requires-python = ">=3.10,<4"
license = { file = "LICENSE" }
authors = [{ name = "ANSYS, Inc.", email = "[email protected]" }]
maintainers = [{ name = "PyAnsys developers", email = "[email protected]" }]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"ansys-acp-core==0.1rc1",
"ansys-additive-core==0.18.1",
"ansys-additive-widgets==0.2.1",
"ansys-conceptev-core==0.8",
"ansys-dpf-composites==0.6.2",
"ansys-dpf-core==0.13.3",
"ansys-dpf-post==0.9.2",
"ansys-dyna-core==0.6.1",
"ansys-dynamicreporting-core==0.8.0",
"ansys-edb-core==0.1.9",
"ansys-fluent-core==0.27.0",
"ansys-geometry-core==0.7.6",
"ansys-hps-client==0.9.1",
"ansys-mapdl-core==0.68.6",
"ansys-math-core==0.2.0",
"ansys-mechanical-core==0.11.10",
"ansys-meshing-prime==0.6.2",
"ansys-modelcenter-workflow==0.1.1",
"ansys-motorcad-core==0.7.0",
"ansys-optislang-core==0.9.2",
"ansys-platform-instancemanagement==1.1.2",
"ansys-pyensight-core==0.9.2",
"ansys-rocky-core==0.3.1",
"ansys-seascape==0.2.0",
"ansys-sherlock-core==0.8.1",
"ansys-simai-core==0.2.5",
"ansys-sound-core==0.1.3",
"ansys-systemcoupling-core==0.8.0",
"ansys-turbogrid-core==0.4.1",
"ansys-workbench-core==0.7.0",
"pyaedt==0.12.0",
"pyedb==0.34.3",
"pygranta==2025.1.0",
"pytwin==0.7.0",
]
[project.optional-dependencies]
mapdl-all = ["ansys-mapdl-reader==0.54.2"]
fluent-all = ["ansys-fluent-visualization==0.15.0"]
tools = [
"ansys-materials-manager==0.2.3",
"ansys-tools-filetransfer==0.1.1",
"ansys-tools-local-product-launcher==0.1.1",
"ansys-tools-path==0.7.0",
# "ansys-tools-protoc-helper==0.4.0; python_version<='3.10'",
"ansys-tools-visualization-interface==0.6.2",
"ansys-units==0.3.4",
"pyansys-tools-report==0.8.1",
"pyansys-tools-versioning==0.6.0",
"pyansys-tools-variableinterop==0.1.1",
]
all = [
# MAPDL - ALL
"ansys-mapdl-reader==0.54.2",
# FLUENT - ALL
"ansys-fluent-visualization==0.15.0",
# TOOLS
"ansys-materials-manager==0.2.3",
"ansys-tools-filetransfer==0.1.1",
"ansys-tools-local-product-launcher==0.1.1",
"ansys-tools-path==0.7.0",
# "ansys-tools-protoc-helper==0.4.0; python_version<='3.10'",
"ansys-tools-visualization-interface==0.6.2",
"ansys-units==0.3.4",
"pyansys-tools-report==0.8.1",
"pyansys-tools-versioning==0.6.0",
"pyansys-tools-variableinterop==0.1.1",
]
doc = [
"Sphinx==8.1.3",
"ansys-sphinx-theme==1.2.3",
"Jinja2 ==3.1.4",
"Pillow==11.0.0",
"PyGithub==2.5.0",
"sphinx-copybutton==0.5.2",
"sphinx-design==0.6.1",
"sphinxcontrib-mermaid==1.0.0",
"sphinx-jinja==2.0.2",
]
[project.urls]
Source = "https://github.com/ansys/pyansys"
Documentation = "https://docs.pyansys.com"
[tool.flit.module]
name = "pyansys"
[tool.ruff]
line-length = 100
fix = true
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
docstring-code-line-length = "dynamic"
[tool.ruff.lint]
select = [
"E", # pycodestyle, see https://docs.astral.sh/ruff/rules/#pycodestyle-e-w
"F", # pyflakes, see https://docs.astral.sh/ruff/rules/#pyflakes-f
"I", # isort, see https://docs.astral.sh/ruff/rules/#isort-i
"N", # pep8-naming, see https://docs.astral.sh/ruff/rules/#pep8-naming-n
"PTH", # flake8-use-pathlib, https://docs.astral.sh/ruff/rules/#flake8-use-pathlib-pth
"TD", # flake8-todos, https://docs.astral.sh/ruff/rules/#flake8-todos-td
]
ignore = [
"TD002", # Missing author in TODOs comment
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.isort]
combine-as-imports = true
force-sort-within-sections = true