-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (56 loc) · 2.05 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (56 loc) · 2.05 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
[build-system]
requires = [
"setuptools>=77",
# 3.1 is the first release that honours the freethreading_compatible
# directive in extinction.pyx; earlier versions silently ignore it and
# emit a module that re-enables the GIL on free-threaded interpreters.
"Cython>=3.1",
"numpy>=2",
]
build-backend = "setuptools.build_meta"
[project]
name = "extinction"
description = "Fast interstellar dust extinction laws"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Kyle Barbary", email = "kylebarbary@gmail.com" }]
requires-python = ">=3.9"
# Wheels are built against numpy 2, which stays ABI compatible back to 1.19.3.
dependencies = ["numpy>=1.19.3"]
dynamic = ["version"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Free Threading :: 3 - Stable",
"Topic :: Scientific/Engineering :: Astronomy",
]
[project.urls]
Homepage = "https://github.com/sncosmo/extinction"
Documentation = "https://extinction.readthedocs.io"
Source = "https://github.com/sncosmo/extinction"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
# PEP 561 marker and stubs for the compiled module.
[tool.setuptools.package-data]
extinction = ["py.typed", "*.pyi"]
# The Cython source and its generated C belong in the sdist, not in binary
# wheels; now that they live inside the package directory, MANIFEST.in would
# otherwise pull them in.
[tool.setuptools.exclude-package-data]
extinction = ["*.pyx", "*.c"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.cibuildwheel]
test-requires = "pytest"
test-command = "pytest {project}/tests"