forked from hz-b/rayx-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (58 loc) · 1.9 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (58 loc) · 1.9 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
[project]
name = "rayx"
dynamic = ["version"]
description = "Python bindings for RAYX"
readme = "README.md"
license = { file = "LICENSE" }
dependencies = [
"matplotlib>=3.9.4",
"numpy >= 2.0.0",
"pandas>=2.3.3",
]
requires-python = ">=3.12"
authors = [{ name = "RAYX team", email = "rayx-support@helmholtz-berlin.de" }]
maintainers = [
{ name = "RAYX team", email = "rayx-support@helmholtz-berlin.de" },
]
[project.optional-dependencies]
dev = ["pytest>=7.0", "matplotlib>=3.5", "ipython"]
test = ["pytest>=7.0", "pytest-cov"]
[build-system]
requires = ["scikit-build-core>=1.0", "nanobind>=2.13", "setuptools-scm>=10.2"]
build-backend = "scikit_build_core.build"
[tool.scikit-build]
wheel.packages = ["src/rayx"]
# Keep CMake artifacts for fast local and editable rebuilds. The wheel tag
# prevents incompatible Python/ABI builds from sharing a cache.
build-dir = "build/{wheel_tag}"
cmake.build-type = "Release"
sdist.include = ["src/rayx/_version.py"]
# Tag wheels as cp312-abi3 to match the STABLE_ABI extension (see CMakeLists.txt):
# one wheel serves CPython 3.12+.
wheel.py-api = "cp312"
[[tool.dynamic-metadata]]
provider = "scikit_build_core.metadata.setuptools_scm"
[tool.setuptools_scm] # Section required
write_to = "src/rayx/_version.py"
[tool.cibuildwheel]
archs = ["x86_64"]
build = ["*manylinux*"]
# Free-threaded CPython does not support the stable ABI used by this wheel.
skip = ["cp*t-*"]
manylinux-x86_64-image = "gitea.valentinstoecker.de/vls/manylinux_cuda"
test-requires = ["pytest", "pyright"]
test-command = "cd /tmp && python -m pytest -q {project}/tests"
[tool.cibuildwheel.linux]
environment = { SETUPTOOLS_SCM_OVERRIDES_FOR_RAYX = "{ local_scheme = 'no-local-version' }" }
[tool.uv]
package = false
[dependency-groups]
dev = [
"cmake>=3.26",
"nanobind>=2.13.0",
"ninja>=1.13.0",
"pytest>=9.0.2",
"scikit-build-core>=1.0",
"setuptools-scm>=10.2.0",
"twine>=6.2.0",
]