forked from ansys/pyprimemesh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
96 lines (88 loc) · 2.31 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "ansys-meshing-prime"
version = "0.4.0.dev8"
description = "PyPrimeMesh is a Python client to Ansys Prime Server, which delivers core Ansys meshing technology."
readme = "README.md"
requires-python = ">=3.8,<4"
license = {file = "LICENSE"}
authors = [{name = "ANSYS, Inc.", email = "[email protected]"}]
maintainers = [{name = "ANSYS, Inc.", email = "[email protected]"}]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"ansys-api-meshing-prime==0.1.1",
"numpy>=1.14.0",
"appdirs>=1.4.0",
"importlib-metadata>=4.0,<5; python_version<='3.8'",
]
[project.optional-dependencies]
graphics = [
"pyvista>=0.32.0",
]
tests = [
"pytest==7.3.1",
"pytest-cov==4.0.0",
"pytest-pyvista==0.1.8",
"pyvista[trame]==0.39.1"
]
doc = [
"ansys-sphinx-theme==0.9.9",
"jupyter-sphinx==0.4.0",
"numpydoc==1.5.0",
"Sphinx==7.0.1",
"pyvista==0.39.1",
"sphinx-autodoc-typehints==1.23.0",
"sphinx-copybutton==0.5.2",
"sphinx-gallery==0.13.0",
"sphinx-notfound-page==0.8.3",
"sphinxemoji==0.2.0",
]
all = [
"pyvista>=0.32.0",
]
[project.urls]
Source = "https://github.com/ansys/pyprimemesh"
Documentation = "https://prime.docs.pyansys.com"
[tool.flit.module]
name = "ansys.meshing.prime"
[tool.black]
line-length = 100
target-version = ['py38', 'py39', 'py310', 'py311']
skip-string-normalization = true
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests
| profiling
| src/ansys/meshing/prime/autogen
| .md
| doc
)/
'''
[tool.pytest.ini_options]
minversion = "7.1"
addopts = "-ra --cov=ansys.meshing.prime.core --cov=ansys.meshing.prime.internals --cov=ansys.meshing.prime.lucid --cov=ansys.meshing.prime.graphics --cov-report=term --cov-report=html:.cov/html --image_cache_dir tests/graphics/image_cache --add_missing_images"
testpaths = [
"tests",
]