-
Notifications
You must be signed in to change notification settings - Fork 21
/
pyproject.toml
107 lines (94 loc) · 2.02 KB
/
pyproject.toml
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
97
98
99
100
101
102
103
104
105
106
[project]
name = "stsci.tools"
description = "Collection of STScI utility functions"
requires-python = ">=3.8"
authors = [
{ name = "STScI", email = "[email protected]" },
]
keywords = [
"astronomy",
"astrophysics",
"utility",
]
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"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",
"astropy>=5.0.4",
]
dynamic = [
"version",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.license]
file = "LICENSE.md"
content-type = "text/plain"
[project.urls]
Homepage = "https://www.github.com/spacetelescope/stsci.tools"
[project.scripts]
convertwaiveredfits = "stsci.tools.convertwaiveredfits:main"
convertlog = "stsci.tools.convertlog:main"
[project.optional-dependencies]
test = [
"pytest",
"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
license-files = [
"LICENSE.md",
]
[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.ini_options]
minversion = "6"
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",
]