-
Notifications
You must be signed in to change notification settings - Fork 37
/
pyproject.toml
200 lines (187 loc) · 5.38 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
[project]
name = "drizzlepac"
description = " HST image combination using the drizzle algorithm to combine astronomical images, to model image distortion, to remove cosmic rays, and generally to improve the fidelity of data in the final image. "
requires-python = ">=3.10,<3.13"
authors = [
{ name = "Megan Sosey" },
{ name = "Warren Hack" },
{ name = "Christopher Hanley" },
{ name = "Chris Sontag" },
{ name = "Mihai Cara" },
{ name = "Michael Dulude" },
{ name = "Michele De La Pena" },
{ name = "Steven Goldman" },
]
classifiers = [
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"astropy>=5.0.4",
"fitsblender>=0.4.2",
"scipy",
"matplotlib",
"stsci.tools>=4.0",
"stsci.image>=2.3.7",
"stsci.imagestats>=1.8.2",
"stsci.skypac>=1.0.9",
"stsci.stimage",
"stwcs>=1.5.3",
"tweakwcs>=0.8.7",
"stregion>=1.1.7",
"requests",
"scikit-learn>=0.20",
"simplify-polyline",
"bokeh",
"pandas",
"spherical_geometry>=1.2.22",
"astroquery>=0.4",
"astrocut<=0.9",
"photutils>=1.10.0",
"lxml",
"PyPDF2",
"scikit-image>=0.14.2",
"numpy>2.0",
]
dynamic = [
"version",
]
[project.readme]
file = "README.md"
content-type = "text/x-rst"
[project.license]
file = "LICENSE.txt"
[project.optional-dependencies]
docs = [
"sphinx",
"stsci_rtd_theme",
"packaging",
"tomli",
"numpydoc",
"sphinx_automodapi",
"graphviz",
"astrocut",
"tables",
]
test = [
"ci_watson",
"crds",
"pytest",
"pytest-remotedata",
]
[project.urls]
tracker = "https://github.com/spacetelescope/drizzlepac/issues"
documentation = "https://drizzlepac.readthedocs.io/en/latest"
source = "https://github.com/spacetelescope/drizzlepac"
[project.scripts]
mdriz = "drizzlepac.mdriz:main"
resetbits = "drizzlepac.resetbits:main"
updatenpol = "drizzlepac.updatenpol:main"
runastrodriz = "drizzlepac.runastrodriz:main"
runsinglehap = "drizzlepac.runsinglehap:main"
runmultihap = "drizzlepac.runmultihap:main"
[build-system]
requires = [
"setuptools>=61",
"setuptools_scm[toml]>=3.4",
"wheel",
"numpy>=2.0.0rc2",
"astropy>=5.0.4",
"markupsafe<=2.0.1",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_file = "drizzlepac/version.py"
[tool.setuptools]
zip-safe = false
[tool.setuptools.packages.find]
[tool.setuptools.package-data]
drizzlepac = [
"README.md",
"LICENSE.txt",
"pars/*",
"pars/hap_pars/*",
"pars/hap_pars/mvm_parameters/*",
"pars/hap_pars/mvm_parameters/acs/hrc/*",
"pars/hap_pars/mvm_parameters/acs/sbc/*",
"pars/hap_pars/mvm_parameters/acs/wfc/*",
"pars/hap_pars/mvm_parameters/any/*",
"pars/hap_pars/mvm_parameters/wfc3/ir/*",
"pars/hap_pars/mvm_parameters/wfc3/uvis/*",
"pars/hap_pars/mvm_parameters/wfpc2/wf/*",
"pars/hap_pars/mvm_parameters/wfpc2/pc/*",
"pars/hap_pars/svm_parameters/*",
"pars/hap_pars/svm_parameters/acs/hrc/*",
"pars/hap_pars/svm_parameters/acs/sbc/*",
"pars/hap_pars/svm_parameters/acs/wfc/*",
"pars/hap_pars/svm_parameters/any/*",
"pars/hap_pars/svm_parameters/wfc3/ir/*",
"pars/hap_pars/svm_parameters/wfc3/uvis/*",
"pars/hap_pars/svm_parameters/wfpc2/wf/*",
"pars/hap_pars/svm_parameters/wfpc2/pc/*",
"pars/psfs/*",
"pars/psfs/acs/hrc/*",
"pars/psfs/acs/sbc/*",
"pars/psfs/acs/wfc/*",
"pars/psfs/wfc3/ir/*",
"pars/psfs/wfc3/uvis/*",
"*.help",
"htmlhelp/*",
"htmlhelp/_*/*",
"htmlhelp/_*/*/*",
]
[tool.build_sphinx]
builder = "html"
configuration = "docs/source/conf.py"
fail_on_warning = false
[tool.pytest.ini_options]
minversion = 5
norecursedirs = [
".eggs",
"build",
".tox",
"doc/build",
"doc/exts",
]
junit_family = "xunit2"
inputs_root = "drizzlepac"
results_root = "drizzlepac-results"
[tool.ruff]
extend-exclude = [
".git",
"__pycache__",
"build",
"dist",
".eggs",
".tox",
]
ignore = [
"E401", # Multiple imports not allowed on single line
"E402", # Module level import not at top of file
"E501", # Line too long
"E701", # Multiple-statements on one line (colon) NEEDS TO BE FIXED
"E711", # Comparison to `None` should be `cond is None`
"E712", # Comparison to `True` should be `cond is True`
"E713", # Test for membership should be `not in`
"E714", # Test for object identity should be `is not`
"E721", # Do not compare types, use `isinstance()`
"E722", # Do not use bare `except`
"E741", # Ambiguous variable name
"F401", # imported but unused
"F521", # '...'.format(...) has invalid format string: Single '}' encountered in format string
"F523", # '...'.format(...) has unused arguments at position(s): 0, 1
"F541", # f-string without any placeholders
"F632", # Use `==` and `!=` to compare constant literals
"F633", # Use of `>>` is invalid with `print` function
"F811", # Redefinition of unused
"F821", # Undefined name
"F822", # Undefined name `getHelpAsString` in `__all__`
"F841", # Local variable is assigned to but never used
]