Debian Codegraph @

pyproject.toml

raw symbols SCIP
1 [build-system]
2 requires = [
3 "setuptools>=77",
4 # 3.1 is the first release that honours the freethreading_compatible
5 # directive in extinction.pyx; earlier versions silently ignore it and
6 # emit a module that re-enables the GIL on free-threaded interpreters.
7 "Cython>=3.1",
8 "numpy>=2",
9 ]
10 build-backend = "setuptools.build_meta"
11
12 [project]
13 name = "extinction"
14 description = "Fast interstellar dust extinction laws"
15 readme = "README.md"
16 license = "MIT"
17 license-files = ["LICENSE"]
18 authors = [{ name = "Kyle Barbary", email = "[email protected]" }]
19 requires-python = ">=3.9"
20 # Wheels are built against numpy 2, which stays ABI compatible back to 1.19.3.
21 dependencies = ["numpy>=1.19.3"]
22 dynamic = ["version"]
23 classifiers = [
24 "Development Status :: 5 - Production/Stable",
25 "Intended Audience :: Science/Research",
26 "Programming Language :: Python :: 3",
27 "Programming Language :: Python :: 3.9",
28 "Programming Language :: Python :: 3.10",
29 "Programming Language :: Python :: 3.11",
30 "Programming Language :: Python :: 3.12",
31 "Programming Language :: Python :: 3.13",
32 "Programming Language :: Python :: 3.14",
33 "Programming Language :: Python :: 3.15",
34 "Programming Language :: Python :: Free Threading :: 3 - Stable",
35 "Topic :: Scientific/Engineering :: Astronomy",
36 ]
37
38 [project.urls]
39 Homepage = "https://github.com/sncosmo/extinction"
40 Documentation = "https://extinction.readthedocs.io"
41 Source = "https://github.com/sncosmo/extinction"
42
43 [tool.setuptools]
44 package-dir = { "" = "src" }
45
46 [tool.setuptools.packages.find]
47 where = ["src"]
48
49 # PEP 561 marker and stubs for the compiled module.
50 [tool.setuptools.package-data]
51 extinction = ["py.typed", "*.pyi"]
52
53 # The Cython source and its generated C belong in the sdist, not in binary
54 # wheels; now that they live inside the package directory, MANIFEST.in would
55 # otherwise pull them in.
56 [tool.setuptools.exclude-package-data]
57 extinction = ["*.pyx", "*.c"]
58
59 [tool.pytest.ini_options]
60 testpaths = ["tests"]
61
62 [tool.cibuildwheel]
63 test-requires = "pytest"
64 test-command = "pytest {project}/tests"