forked from njroussel/drjit-fork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
69 lines (52 loc) · 1.69 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
[build-system]
requires = [
"scikit-build-core",
"nanobind @ git+https://github.com/wjakob/nanobind@master",
"typing_extensions"
]
build-backend = "scikit_build_core.build"
[project]
name = "drjit"
version = "1.0.0"
description = "Dr.Jit: A Just-In-Time Compiler for Differentiable Rendering"
readme = "README.rst"
dependencies = [
"typing_extensions;python_version<\"3.11\""
]
requires-python = ">=3.8"
authors = [
{ name = "Wenzel Jakob", email = "[email protected]" },
{ name = "Sébastien Speierer", email = "[email protected]" },
{ name = "Nicolas Roussel", email = "[email protected]" },
{ name = "Delio Vicini", email = "[email protected]" }
]
classifiers = [
"License :: OSI Approved :: BSD License"
]
[project.urls]
Homepage = "https://github.com/mitsuba-renderer/drjit"
[tool.scikit-build]
# Protect the configuration against future changes in scikit-build-core
minimum-version = "0.4"
# Setuptools-style build caching in a local directory
build-dir = "build/{wheel_tag}"
# Build stable ABI wheels for CPython 3.12+
wheel.py-api = "cp312"
cmake.verbose = true
logging.level = "INFO"
[tool.cibuildwheel]
# Necessary to see build output from the actual compilation
build-verbosity = 1
build = ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"]
archs = ["auto64"]
skip = "*-musllinux* pp*"
# Run pytest to ensure that the package was correctly built
test-command = "pytest {project}/tests"
test-requires = "pytest"
# Needed for full C++17 support
[tool.cibuildwheel.macos.environment]
MACOSX_DEPLOYMENT_TARGET = "10.14"
[tool.cibuildwheel.linux]
before-all = "yum install -y libatomic"
[tool.pytest.ini_options]
norecursedirs = [ "ext" ]