-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
175 lines (152 loc) · 5.02 KB
/
Copy pathpyproject.toml
File metadata and controls
175 lines (152 loc) · 5.02 KB
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
174
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0", "setuptools>=65.0"]
build-backend = "poetry.core.masonry.api"
# The following lines were added to enforce the poetry version needed for the project.
# It will be read by the setup_environment.py script to install this version.
[build-system-requirements]
build-system-version = "1.7.0"
[project]
name = "ansys-visor-viewer"
version = "1.1.dev0"
description = "VISOR 3D visualization web component framework"
requires-python = ">=3.11,<4.0"
dynamic = ["dependencies"]
authors = [
{ name = "VISOR Team", email = "visor@synopsys.com" },
]
readme = "README.rst"
license = "Apache-2.0"
classifiers = [
"Development Status :: 3 - Alpha",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Multimedia :: Graphics :: 3D Rendering",
"Topic :: Multimedia :: Graphics :: Viewers",
]
[project.scripts]
visor-setup = "ansys.visor.viewer.utils.autosetup:main"
visor-cli = "ansys.visor.viewer.cli.visor_cli:main"
[project.urls]
Bugs = "https://github.com/ansys/Visual-Interactive-Simulation-Object-Renderer/issues"
Documentation = "https://visor.docs.pyansys.com/"
Source = "https://github.com/ansys/Visual-Interactive-Simulation-Object-Renderer/"
Discussions = "https://github.com/ansys/Visual-Interactive-Simulation-Object-Renderer/discussions"
Releases = "https://github.com/ansys/Visual-Interactive-Simulation-Object-Renderer/releases"
Changelog = "https://github.com/ansys/Visual-Interactive-Simulation-Object-Renderer/blob/main/CHANGELOG.md"
[tool.poetry]
packages = [
{ include = "ansys/visor/viewer", from = "src" },
{ include = "visordash", from = "src/ansys/visor/dash" },
{ include = "ansys/visor/viewer/cli", from = "src"}
]
include = [
{ path = "src/ansys/visor/viewer/client_bundle/**", format = ["sdist", "wheel"] },
{ path = "src/ansys/visor/viewer/dash/visordash/**", format = ["sdist", "wheel"] },
{ path = "src/ansys/visor/viewer/dash/src/lib/**", format = ["sdist", "wheel"] },
{ path = "README.rst", format = ["sdist", "wheel"] },
{ path = "LICENSE", format = ["sdist", "wheel"] },
]
[tool.poetry.dependencies]
python = "^3.11"
trame = "3.12.0"
trame-server = "^3.6.0"
wslink = "^2.5.0"
trame-vtklocal = "0.16.4"
vtk = "9.6.1"
fastapi = "^0.136.3"
starlette = ">=1.3.1"
uvicorn = ">=0.24,<0.25"
pydantic_settings = "<=2.6.0"
requests = "^2.32.0"
dash = ">=2.16.1"
click = ">=8.3.3"
urllib3 = "^2.7.0"
aiohttp = ">=3.14.0"
pillow = ">=12.3.0" # CVE-2026-55380
[[tool.poetry.source]]
name = "vtk-wheels"
url = "https://wheels.vtk.org"
priority = "supplemental"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
pytest-cov = "^3.0.0"
pytest-mock = "^3.14.0"
pytest-trio = "^0.8.0"
pytest-asyncio = "^1.2.0"
httpx = "^0.28.0"
pytest-playwright = "^0.7.2"
pytest-html = "^4.2.0"
nbval = "^0.11.0"
ipykernel = "^7.2.0"
jupyter-client = "^8.8.0"
nbformat = "^5.10.4"
deepdiff = "^8.6.1"
[tool.poetry.group.setup.dependencies]
trame = "3.12.0"
trame-vtklocal = "0.16.4"
vtk = "9.6.1"
# Provides dash-generate-components CLI used by `npm run build:backends`
dash = {version = ">=2.0.0", extras = ["dev"]}
[tool.poetry.group.doc]
optional = true
[tool.poetry.group.doc.dependencies]
ansys-sphinx-theme = "^1.1.1"
numpydoc = "1.8.0"
sphinx = "^8.0.2"
sphinx-copybutton = "0.5.2"
sphinx-gallery = "^0.18.0"
sphinx-autodoc-typehints = "*"
sphinxcontrib-openapi = "^0.8.4"
sphinx-design = "^0.6.1"
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "N"]
ignore = ["E501", "E402"] # E501: Line too long (formatter job), E402: Module imports (may be intentional)
[tool.towncrier]
package = "ansys.viewer.visor"
directory = "doc/changelog.d"
filename = "doc/source/changelog.rst"
start_string = ".. towncrier release notes start\n"
template = "doc/changelog.d/changelog_template.jinja"
title_format = "`{version} <https://github.com/ansys/Visual-Interactive-Simulation-Object-Renderer/releases/tag/v{version}>`_ - {project_date}"
issue_format = "`#{issue} <https://github.com/ansys/Visual-Interactive-Simulation-Object-Renderer/pull/{issue}>`_"
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking"
showcontent = true
[[tool.towncrier.type]]
directory = "added"
name = "Added"
showcontent = true
[[tool.towncrier.type]]
directory = "fixed"
name = "Fixed"
showcontent = true
[[tool.towncrier.type]]
directory = "documentation"
name = "Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "dependencies"
name = "Dependencies"
showcontent = true
[[tool.towncrier.type]]
directory = "maintenance"
name = "Maintenance"
showcontent = true
[[tool.towncrier.type]]
directory = "miscellaneous"
name = "Miscellaneous"
showcontent = true
[[tool.towncrier.type]]
directory = "test"
name = "Test"
showcontent = true