-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (97 loc) · 2.49 KB
/
Copy pathpyproject.toml
File metadata and controls
113 lines (97 loc) · 2.49 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
[project]
name = "trame-vtklocal"
version = "1.7.1"
description = "VTK Local Rendering using WASM"
authors = [
{name = "Kitware Inc."},
]
dependencies = [
"trame",
"trame-common",
"packaging",
]
requires-python = ">=3.10"
readme = "README.rst"
license = {text = "Apache Software License"}
keywords = ["Python", "Interactive", "Web", "Application", "Framework"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.optional-dependencies]
vtk = [
"vtk>=9.6.1",
]
dev = [
"pre-commit",
"ruff",
"pytest",
"pytest-asyncio",
"pytest-cov >=3",
"coverage",
"pytest-playwright",
"trame-client[test]",
"trame-vuetify",
# Dev wheel from wheels.vtk.org (see [tool.uv] below)
"vtk==9.7.20260913.dev0",
]
# Resolve the pinned vtk dev build from the VTK nightly wheel index instead of
# PyPI. `explicit = true` keeps every other dependency on PyPI; only packages
# mapped in [tool.uv.sources] use this index.
[[tool.uv.index]]
name = "vtk-wheels"
url = "https://wheels.vtk.org"
explicit = true
[tool.uv.sources]
vtk = { index = "vtk-wheels" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = [
"/src/trame_vtklocal/**/*.py",
"/src/trame_vtklocal/module/serve/**",
"/src/trame/**/*.py",
]
[tool.hatch.build.targets.wheel]
packages = [
"src/trame_vtklocal",
"src/trame",
]
[tool.semantic_release]
version_toml = [
"pyproject.toml:project.version",
]
build_command = "uv build"
commit_parser = "conventional"
[tool.ruff]
line-length = 88
indent-width = 4
target-version = "py39"
[tool.ruff.lint]
select = ["E", "W", "F"]
ignore = []
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
# This only has an effect when the `docstring-code-format` setting is
# enabled.
docstring-code-line-length = "dynamic"
[tool.ruff.lint.pycodestyle]
max-line-length = 120
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true
[lint.pydocstyle]
convention = "google"