forked from ansys/pyansys-geometry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
131 lines (120 loc) · 3.53 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "ansys-geometry-core"
version = "0.4.dev0"
description = "A python wrapper for Ansys Geometry service"
readme = "README.rst"
requires-python = ">=3.9,<4"
license = {file = "LICENSE"}
authors = [{name = "ANSYS, Inc.", email = "[email protected]"}]
maintainers = [{name = "ANSYS, Inc.", 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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"ansys-api-geometry==0.3.5",
"ansys-tools-path>=0.3",
"beartype>=0.11.0",
"google-api-python-client>=1.7.11",
"googleapis-common-protos>=1.52.0",
"grpcio>=1.35.0",
"grpcio-health-checking>=1.45.0",
"numpy>=1.20.3",
"Pint>=0.18",
"protobuf~=3.20.2",
"pyvista>=0.37.0",
"scipy>=1.7.3",
"six>=1.16.0",
"vtk>=9",
]
[project.optional-dependencies]
all = [
"ansys-platform-instancemanagement>=1.0.3",
"docker>=6.0.1",
"pyvista[trame]>=0.38.1,<0.42",
]
tests = [
"ansys-platform-instancemanagement==1.1.2",
"ansys-tools-path==0.4.0",
"beartype==0.16.4",
"docker==7.0.0",
"google-api-python-client==2.111.0",
"googleapis-common-protos==1.62.0",
"grpcio==1.50.0",
"grpcio-health-checking==1.48.2",
"numpy==1.26.2",
"Pint==0.23",
"protobuf==3.20.3",
"pytest==7.4.4",
"pytest-cov==4.1.0",
"pytest-pyvista==0.1.9",
"pytest-xvfb==3.0.0",
"pyvista[trame]==0.43.1",
"requests==2.31.0",
"scipy==1.11.4",
"six==1.16.0",
"vtk==9.3.0",
]
doc = [
"ansys-sphinx-theme==0.12.5",
"docker==7.0.0",
"ipyvtklink==0.2.3",
"jupyter_sphinx==0.5.3",
"jupytext==1.16.0",
"myst-parser==2.0.0",
"nbconvert==7.14.0",
"nbsphinx==0.9.3",
"notebook==7.0.6",
"numpydoc==1.6.0",
"panel==1.3.6",
"pyvista[trame]==0.43.1",
"requests==2.31.0",
"sphinx==7.2.5",
"sphinx-autoapi==3.0.0", # "sphinx-autoapi @ git+https://github.com/jorgepiloto/sphinx-autoapi@feat/single-page-option", ---> Installed directly in workflow
"sphinx-autodoc-typehints==1.24.0",
"sphinx-copybutton==0.5.2",
"sphinx_design==0.5.0",
"sphinx-jinja==2.0.2",
"vtk==9.3.0",
]
[project.urls]
Source = "https://github.com/ansys/pyansys-geometry"
Issues = "https://github.com/ansys/pyansys-geometry/issues"
Discussions = "https://github.com/ansys/pyansys-geometry/discussions"
Documentation = "https://geometry.docs.pyansys.com"
Releases = "https://github.com/ansys/pyansys-geometry/releases"
[tool.flit.module]
name = "ansys.geometry.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.docformatter]
in-place = true
pre-summary-newline = true
wrap-descriptions = 88
wrap-summaries = 88
[tool.coverage.run]
source = ["ansys.geometry"]
[tool.coverage.report]
show_missing = true
[tool.pytest.ini_options]
minversion = "7.1"
addopts = "-ra --cov=ansys.geometry --cov-report html:.cov/html --cov-report xml:.cov/xml --cov-report term -vv --image_cache_dir tests/integration/image_cache --add_missing_images"
testpaths = [
"tests",
]