-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
56 lines (50 loc) · 1.43 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
[project]
name = "ndsplines"
dynamic = ["version"]
description = "Multi-dimensional splines"
readme = "readme.rst"
authors = [
{name = "Benjamin Margolis", email = "[email protected]"},
]
maintainers = [
{name = "Kenneth Lyons", email = "[email protected]"},
]
license = {file = "LICENSE"}
classifiers=[
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.8"
dependencies = [
"numpy<2; python_version<='3.8'",
"numpy; python_version>'3.8'",
"scipy",
]
[project.optional-dependencies]
test = ["pytest", "pandas"]
docs = ["sphinx", "sphinx_gallery", "matplotlib", "pandas"]
examples = ["matplotlib", "pandas"]
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=45",
"setuptools_scm[toml]",
"cython",
"oldest-supported-numpy; python_version<='3.8'",
"numpy>=2; python_version>'3.8'",
]
[tool.setuptools]
# autodiscovery doesn't exclude paper/
packages = ["ndsplines"]
[tool.setuptools_scm]
write_to = "ndsplines/version.py"
[tool.cibuildwheel]
# disable builds for PyPy, all 32-bit, musl
skip = "pp* *-win32 *-manylinux_i686 *-musllinux*"
test-extras = ["test"]
test-command = "pytest {project}/tests"