File: pyproject.toml

package info (click to toggle)
stsci.tools 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 44,384 kB
  • sloc: python: 13,111; makefile: 75
file content (96 lines) | stat: -rw-r--r-- 1,802 bytes parent folder | download
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
93
94
95
96
[project]
name = "stsci.tools"
description = "Collection of STScI utility functions"
requires-python = ">=3.10"
authors = [
    { name = "STScI" },
]
keywords = [
    "astronomy",
    "astrophysics",
    "utility",
]
classifiers = [
    "Intended Audience :: Science/Research",
    "Operating System :: OS Independent",
    "Programming Language :: Python",
    "Programming Language :: Python :: Implementation :: CPython",
    "Topic :: Scientific/Engineering :: Astronomy",
    "Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
    "packaging",
    "numpy>=1.21.6",
    "astropy>=5.0.4",
]
license-files = ["LICENSE.md"]
dynamic = [
    "version",
]

[project.readme]
file = "README.md"
content-type = "text/markdown"

[project.urls]
Homepage = "https://www.github.com/spacetelescope/stsci.tools"

[project.optional-dependencies]
test = [
    "pytest>=9.0",
    "pytest-astropy-header",
    "pytest-doctestplus",
]
docs = [
    "sphinx",
    "numpydoc",
    "sphinx_rtd_theme",
]

[build-system]
requires = [
    "setuptools>=30.3.0",
    "setuptools_scm",
    "wheel",
]
build-backend = "setuptools.build_meta"

[tool.setuptools]
zip-safe = false
include-package-data = false

[tool.setuptools.packages.find]
where = [
    "lib/",
]

[tool.setuptools.package-data]
"stsci.tools.tests" = [
    "data/*.*",
]

[tool.setuptools_scm]
version_file = "lib/stsci/tools/version.py"

[tool.pytest]
minversion = "9.0"
testpaths = [
    "lib/stsci/tools",
]
addopts = ["--doctest-modules"]
astropy_header = true
xfail_strict = true
filterwarnings = [
    "error",
    "ignore:.*Column disp option",
    "ignore:NMPFIT is deprecated",
    "ignore:GFIT is deprecated",
    "ignore:unclosed file:ResourceWarning",
]

[tool.ruff.lint]
extend-ignore = [
    "E501",
    "W504",
]