| 1 |
[build-system] |
| 2 |
requires = [ |
| 3 |
"setuptools>=77", |
| 4 |
|
| 5 |
|
| 6 |
|
| 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 |
|
| 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 |
|
| 50 |
[tool.setuptools.package-data] |
| 51 |
extinction = ["py.typed", "*.pyi"] |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 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" |