Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (52 loc) · 1.57 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (52 loc) · 1.57 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
[build-system]
requires = ["scikit-build-core>=0.10", "pybind11>=2.13", "numpy>=2.0"]
build-backend = "scikit_build_core.build"
[project]
name = "hyperjet"
version = "0.0.0"
description = "Automatic differentiation with dual numbers"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [
{ name = "Thomas Oberbichler", email = "thomas.oberbichler@gmail.com" },
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
]
dependencies = [
"numpy>=2.0",
"msvc-runtime; platform_system == 'Windows'",
]
[project.optional-dependencies]
test = ["pytest>=8.0"]
[project.urls]
Homepage = "https://github.com/oberbichler/HyperJet"
Repository = "https://github.com/oberbichler/HyperJet"
[dependency-groups]
dev = ["clang-format>=19.0", "ruff>=0.11"]
# Separate group: the clang-tidy wheel is ~44 MB against ~2 MB for
# clang-format, and the format CI job has no use for it.
tidy = ["clang-tidy>=19.0"]
test = ["pytest>=8.0"]
[tool.scikit-build]
minimum-version = "0.10"
cmake.source-dir = "python"
cmake.build-type = "Release"
cmake.version = ">=3.14"
[tool.scikit-build.cmake.define]
HYPERJET_VERSION = {env = "HYPERJET_VERSION", default = "0.0.0"}
[tool.pytest.ini_options]
testpaths = ["python/tests"]
[tool.uv]
default-groups = ["test"]
[tool.cibuildwheel]
skip = "pp*"
test-extras = "test"
test-command = "pytest {project}"
[tool.cibuildwheel.macos]
archs = ["auto", "universal2"]