forked from pypeit/PypeIt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
210 lines (199 loc) · 7.6 KB
/
setup.cfg
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
201
202
203
204
205
206
207
208
[metadata]
name = pypeit
description = PypeIt Spectroscopic Reduction
long_description = file: README.rst
long_description_content_type = text/x-rst
author = PypeIt Collaboration
author_email = [email protected]
license = BSD-3
url = https://github.com/pypeit/PypeIt
edit_on_github = False
github_project = pypeit/PypeIt
keywords = pypeit, PypeIt, astronomy, Keck, UCO, Lick, spectroscopy, data reduction
classifiers =
Development Status :: 4 - Beta
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Documentation :: Sphinx
Topic :: Scientific/Engineering :: Astronomy
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Software Development :: User Interfaces
[options]
zip_safe = False
use_2to3=False
packages = find:
python_requires = >=3.10,<3.13
setup_requires = setuptools_scm
include_package_data = True
install_requires =
numpy>=1.23
astropy>=6.0
extension-helpers>=0.1
packaging>=0.19
scipy>=1.7
matplotlib>=3.7
PyYAML>=5.1
PyERFA>=2.0.0
fast-histogram>=0.11
configobj>=5.0.6
scikit-learn>=1.0
IPython>=7.10.0
ginga>=5.1.0
linetools>=0.3.1
qtpy>=2.0.1
pygithub
bottleneck
pyqt6
scripts =
bin/pypeit_c_enabled
bin/pypeit_chk_plugins
bin/pypeit_version
bin/pypeit_cp_spec1d
# NOTES:
# - pygit2 is used by the cache system to pull files from the correct branch on
# GitHub
# - psutil and pytest-qt are strictly only needed for the dev-suite
[options.extras_require]
scikit-image =
scikit-image
specutils =
specutils>=1.13
test =
pygit2
pytest>=6.0.0
pytest-astropy
tox
pytest-cov
coverage
docs =
sphinx>=1.6,<8
docutils<0.21
sphinx-automodapi
sphinx_rtd_theme==2.0.0
devsuite =
psutil
pytest-qt
dev =
# scikit-image
scikit-image
# specutils
specutils>=1.13
# test
pygit2
pytest>=6.0.0
pytest-astropy
tox
pytest-cov
coverage
# docs
sphinx>=1.6,<8
docutils<0.21
sphinx-automodapi
sphinx_rtd_theme==2.0.0
# dev-suite
psutil
pytest-qt
[options.entry_points]
console_scripts =
# non-GUI scripts
pypeit_arxiv_solution = pypeit.scripts.arxiv_solution:ArxivSolution.entry_point
pypeit_cache_github_data = pypeit.scripts.cache_github_data:CacheGithubData.entry_point
pypeit_clean_cache = pypeit.scripts.clean_cache:CleanCache.entry_point
pypeit_chk_for_calibs = pypeit.scripts.chk_for_calibs:ChkForCalibs.entry_point
pypeit_chk_noise_1dspec = pypeit.scripts.chk_noise_1dspec:ChkNoise1D.entry_point
pypeit_chk_noise_2dspec = pypeit.scripts.chk_noise_2dspec:ChkNoise2D.entry_point
pypeit_chk_scattlight = pypeit.scripts.chk_scattlight:ChkScattLight.entry_point
pypeit_coadd_1dspec = pypeit.scripts.coadd_1dspec:CoAdd1DSpec.entry_point
pypeit_coadd_2dspec = pypeit.scripts.coadd_2dspec:CoAdd2DSpec.entry_point
pypeit_coadd_datacube = pypeit.scripts.coadd_datacube:CoAddDataCube.entry_point
pypeit_collate_1d = pypeit.scripts.collate_1d:Collate1D.entry_point
pypeit_edge_inspector = pypeit.scripts.edge_inspector:EdgeInspector.entry_point
pypeit_flux_calib = pypeit.scripts.flux_calib:FluxCalib.entry_point
pypeit_flux_setup = pypeit.scripts.flux_setup:FluxSetup.entry_point
pypeit_install_extinctfile = pypeit.scripts.install_extinctfile:InstallExtinctfile.entry_point
pypeit_install_linelist = pypeit.scripts.install_linelist:InstallLinelist.entry_point
pypeit_install_ql_calibs = pypeit.scripts.install_ql_calib:InstallQLCalibs.entry_point
pypeit_install_telluric = pypeit.scripts.install_telluric:InstallTelluric.entry_point
pypeit_install_wvarxiv = pypeit.scripts.install_wvarxiv:InstallWvArxiv.entry_point
#pypeit_lowrdx_pixflat = pypeit.scripts.lowrdx_pixflat:entry_point
pypeit_lowrdx_skyspec = pypeit.scripts.lowrdx_skyspec:LowRDXSkySpec.entry_point
pypeit_multislit_flexure = pypeit.scripts.multislit_flexure:MultiSlitFlexure.entry_point
pypeit_obslog = pypeit.scripts.obslog:ObsLog.entry_point
pypeit_parse_slits = pypeit.scripts.parse_slits:ParseSlits.entry_point
pypeit_print_bpm = pypeit.scripts.print_bpm:PrintBPM.entry_point
pypeit_qa_html = pypeit.scripts.qa_html:QAHtml.entry_point
pypeit_ql = pypeit.scripts.ql:QL.entry_point
run_pypeit = pypeit.scripts.run_pypeit:RunPypeIt.entry_point
pypeit_sensfunc = pypeit.scripts.sensfunc:SensFunc.entry_point
pypeit_setup = pypeit.scripts.setup:Setup.entry_point
pypeit_setup_coadd2d = pypeit.scripts.setup_coadd2d:SetupCoAdd2D.entry_point
pypeit_show_arxiv = pypeit.scripts.show_arxiv:ShowArxiv.entry_point
# NOTE: pypeit_show_wvcalib uses linetools to open a json file, but uses
# matplotlib to show the spectrum...
pypeit_show_wvcalib = pypeit.scripts.show_wvcalib:ShowWvCalib.entry_point
pypeit_tellfit = pypeit.scripts.tellfit:TellFit.entry_point
pypeit_trace_edges = pypeit.scripts.trace_edges:TraceEdges.entry_point
pypeit_compile_wvarxiv = pypeit.scripts.compile_wvarxiv:CompileWVarxiv.entry_point
# GUI scripts
# Ideally want to be able to do something like this for the following scripts:
#
# pypeit_arcid_plot = pypeit.scripts.arcid_plot:entry_point [gui]
#
# so that they only get installed when optional gui dependencies are installed.
# However, gui dependencies like ginga and linetools are currently deeply embedded
# and not cleanly separable.
# pypeit_arcid_plot = pypeit.scripts.arcid_plot:entry_point
pypeit_chk_alignments = pypeit.scripts.chk_alignments:ChkAlignments.entry_point
pypeit_chk_edges = pypeit.scripts.chk_edges:ChkEdges.entry_point
pypeit_chk_flats = pypeit.scripts.chk_flats:ChkFlats.entry_point
pypeit_chk_tilts = pypeit.scripts.chk_tilts:ChkTilts.entry_point
pypeit_chk_wavecalib = pypeit.scripts.chk_wavecalib:ChkWaveCalib.entry_point
pypeit_compare_sky = pypeit.scripts.compare_sky:CompareSky.entry_point
pypeit_identify = pypeit.scripts.identify:Identify.entry_point
pypeit_ql_multislit = pypeit.scripts.ql_multislit:QL_MOS.entry_point
pypeit_show_1dspec = pypeit.scripts.show_1dspec:Show1DSpec.entry_point
pypeit_show_2dspec = pypeit.scripts.show_2dspec:Show2DSpec.entry_point
pypeit_skysub_regions = pypeit.scripts.skysub_regions:SkySubRegions.entry_point
pypeit_view_fits = pypeit.scripts.view_fits:ViewFits.entry_point
pypeit_setup_gui = pypeit.scripts.setup_gui:SetupGUI.entry_point
ginga.rv.plugins =
SlitWavelength = pypeit.display:setup_SlitWavelength
[tool:pytest]
testpaths = "pypeit/tests"
[coverage:run]
omit =
pypeit/_astropy_init*
pypeit/conftest.py
pypeit/*setup_package*
pypeit/tests/*
pypeit/*/tests/*
pypeit/extern/*
pypeit/version*
*/pypeit/_astropy_init*
*/pypeit/conftest.py
*/pypeit/*setup_package*
*/pypeit/tests/*
*/pypeit/*/tests/*
*/pypeit/extern/*
*/pypeit/version*
[coverage:report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about packages we have installed
except ImportError
# Don't complain if tests don't hit assertions
raise AssertionError
raise NotImplementedError
# Don't complain about script hooks
def main\(.*\):
# Ignore branches that don't pertain to this version of Python
pragma: py{ignore_python_version}
# Don't complain about IPython completion helper
def _ipython_key_completions_