forked from ansys/pymapdl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
148 lines (136 loc) · 4.37 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
[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-mapdl-core"
version = "0.64.dev0"
description = "A Python wrapper for Ansys MAPDL."
readme = "README.rst"
requires-python = ">=3.7"
license = {file = "LICENSE"}
authors = [
{name = "Ansys, Inc.", email = "pyansys.support@ansys.com"},
]
maintainers = [
{name = "PyAnsys developers", email = "pyansys.support@ansys.com"},
]
dependencies = [
"ansys-api-mapdl==0.5.1", # supports at least 2020R2 - 2022R1
"ansys-corba; python_version < '3.9'",
"ansys-mapdl-reader>=0.51.7",
"ansys-platform-instancemanagement~=1.0",
"appdirs>=1.4.0",
"grpcio>=1.30.0", # tested up to grpcio==1.35
"importlib-metadata>=4.0",
"matplotlib>=3.0.0", # for colormaps for pyvista
"numpy>=1.14.0",
"pexpect>=4.8.0 ; platform_system=='Linux'",
"protobuf>=3.12.2", # minimum required based on latest ansys-grpc-mapdl
"pyiges>=0.1.4",
"pyansys-tools-versioning>=0.3.3",
"pyvista>=0.33.0",
"scipy>=1.3.0", # for sparse (consider optional?)
"tqdm>=4.45.0",
"click>=8.1.3", # for CLI interface
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
[project.optional-dependencies]
tests = [
"ansys-dpf-core==0.7.2",
"autopep8==2.0.1",
"matplotlib==3.6.3",
"scipy==1.10.0",
"pandas==1.5.2",
"pytest==7.2.1",
"pytest-cov==4.0.0",
"pyvista==0.37.0",
"pyansys-tools-report==0.5.0",
"vtk==9.2.5",
"pytest-rerunfailures==11.0",
]
doc = [
"Sphinx==5.3.0",
"ansys-dpf-core==0.7.2",
"ansys-mapdl-reader==0.52.7",
"ansys-sphinx-theme==0.8.0",
"grpcio==1.43.0",
"imageio-ffmpeg==0.4.8",
"imageio==2.24.0",
"jupyter_sphinx==0.4.0",
"jupyterlab>=3.2.8",
"matplotlib==3.6.3",
"numpydoc==1.5.0",
"pandas==1.5.2",
"plotly==5.12.0",
"pypandoc==1.10",
"pytest-sphinx==0.5.0",
"pythreejs==2.4.1",
"pyvista==0.37.0",
"sphinx-autobuild==2021.3.14",
"sphinx-autodoc-typehints==1.20.2",
"sphinx-copybutton==0.5.1",
"sphinx-gallery==0.11.1",
"sphinx-notfound-page==0.8.3",
"sphinxcontrib-websupport==1.2.4",
"sphinxemoji==0.2.0",
"vtk==9.2.5",
"sphinxcontrib-googleanalytics==0.4",
]
[tool.flit.module]
name = "ansys.mapdl.core"
[project.urls]
Source = "https://github.com/pyansys/pymapdl"
[project.scripts]
pymapdl_convert_script = "ansys.mapdl.core.convert:cli"
[tool.pytest.ini_options]
junit_family = "legacy"
filterwarnings = [
"ignore::FutureWarning",
"ignore::PendingDeprecationWarning",
"ignore::DeprecationWarning",
# bogus numpy ABI warning (see numpy/#432)
"ignore:.*numpy.dtype size changed.*:RuntimeWarning",
"ignore:.*numpy.ufunc size changed.*:RuntimeWarning",
"ignore::UserWarning",
]
markers = [
"skip_grpc: skip tests using grpc",
"corba: skip tests using the CORBA interface",
"gui: skip tests that launch the GUI interface",
]
testpaths = "tests"
[tool.isort]
profile = "black"
force_sort_within_sections = true
default_section = "THIRDPARTY"
skip_glob = ["__init__.py"]
src_paths = ["doc", "src", "tests"]
[tool.coverage.run]
source = ["ansys/pymapdl"]
omit = [
# omit commands
"ansys/mapdl/core/_commands/*",
# ignore legacy interfaces
"ansys/mapdl/core/mapdl_console.py",
"ansys/mapdl/core/mapdl_corba.py",
"ansys/mapdl/core/jupyter.py",
]
[tool.coverage.report]
show_missing = true
[tool.codespell]
skip = '*.pyc,*.txt,*.gif,*.png,*.jpg,*.js,*.html,*.doctree,*.ttf,*.woff,*.woff2,*.eot,*.mp4,*.inv,*.pickle,*.ipynb,flycheck*,./.git/*,./.hypothesis/*,*.yml,./doc/build/*,./doc/images/*,./dist/*,*~,.hypothesis*,./doc/source/examples/*,*cover,*.dat,*.mac,build,./docker/mapdl/v*,./factory/*,./ansys/mapdl/core/mapdl_functions.py,PKG-INFO,*.mypy_cache/*,./docker/mapdl/*,./_unused/*'
ignore-words = "doc/styles/Vocab/ANSYS/accept.txt"
quiet-level = 3