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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
|
[build-system]
requires = [
"setuptools>=61.0, <72.2.0",
"wheel",
"numpy>=2.0.0rc2",
"Cython",
"setuptools_scm>=8.0",
]
build-backend = "setuptools.build_meta"
[project]
name = "sep"
dynamic = ["version"]
authors = [
{ name="Emmanuel Bertin"},
{ name="Kyle Barbary"},
{ name="Kyle Boone"},
{ name="Thomas Robitaille"},
{ name="Matt Craig"},
{ name="Curtis McCully"},
{ name="Evert Rol"},
{ name="Joe Lyman"},
{ name="Michael Wuertenberger"},
{ name="Ingvar Stepanyan"},
{ name="Gabe Brammer"},
{ name="Peter Watson"},
]
maintainers = [
{ name="Peter Watson", email="peter.watson+sep@inaf.it" },
]
description="Astronomical source extraction and photometry library"
readme = "README.md"
license = { text = "LGPLv3+" }
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Topic :: Scientific/Engineering :: Astronomy",
"Intended Audience :: Science/Research",
]
requires-python = ">=3.9"
dependencies = [
"numpy>=1.26.4"
]
[project.optional-dependencies]
docs = [
"sphinx-copybutton>=0.5",
"sphinx>=7.2",
"numpydoc>=1.6",
"matplotlib>=3.6",
"sphinx-astropy[confv2]>=1.9.1",
"nbsphinx>=0.9.3",
"pandoc>=2.3",
"fitsio>=1.2.1",
"jupyter",
"myst-parser>=2.0.0",
]
[project.urls]
"Homepage" = "https://github.com/sep-developers/sep"
"Bug Tracker" = "https://github.com/sep-developers/sep/issues"
"Documentation" = "http://sep-pjw.readthedocs.org"
[tool.setuptools_scm]
[tool.black]
line-length = 88
target-version = ['py312']
extend-exclude = '(.*.txt|.*.md|.*.toml|.*.odg)'
preview = true
[tool.isort]
profile = "black"
[tool.numpydoc_validation]
checks = [
"all", # report on all checks, except the below
"EX01",
"SA01",
"ES01",
]
exclude = [ # don't report on objects that match any of these regex
'\.undocumented_method$',
'\.__repr__$',
'\._.*$', # Ignore anything that's private (e.g., starts with _)
]
override_SS05 = [ # override SS05 to allow docstrings starting with these words
'^Process ',
'^Assess ',
'^Access ',
]
|