-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (48 loc) · 1.59 KB
/
pyproject.toml
File metadata and controls
58 lines (48 loc) · 1.59 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
[project]
name = "polyscope"
version = "2.6.1"
description = "Polyscope: A viewer and user interface for 3D data."
readme = "README.md"
license.file = "LICENSE"
authors = [
{ name = "Nicholas Sharp", email = "nmwsharp@gmail.com" },
]
maintainers = [
{ name = "Nicholas Sharp", email = "nmwsharp@gmail.com" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
requires-python = ">=3.9"
dependencies = [
"numpy",
"typing_extensions"
]
[project.urls]
Homepage = "https://github.com/nmwsharp/polyscope"
Documentation = "https://polyscope.run"
"Bug Tracker" = "https://github.com/nmwsharp/polyscope/issues"
Discussions = "https://github.com/nmwsharp/polyscope/discussions"
[build-system]
requires = ["scikit-build-core"]
build-backend = "scikit_build_core.build"
[tool.scikit-build]
build.verbose = true
logging.level = "INFO"
# Required by nanobind for C++17. Technically it should be 10.14
# for full support, but this seems to work and gets us somewhat older
# compatibility.
# There is a matching setting in cibuildwheel_config.toml
cmake.args = ["-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13"]
## Misc tools and extensions
[tool.ty.src]
include = ["src", "test"]
exclude = ["test/scripts/*.py"] # ignore helper scripts for type checking
[tool.ty.analysis]
allowed-unresolved-imports = ["cupy", "cuda", "cuda.bindings.runtime"] # optional dependencies
[tool.ruff]
include = ["pyproject.toml", "src/**/*.py", "test/**/*.py"]
exclude = ["test/scripts/*.py"] # ignore helper scripts for linting
line-length = 120