-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathsetup.cfg
More file actions
154 lines (144 loc) · 4.89 KB
/
setup.cfg
File metadata and controls
154 lines (144 loc) · 4.89 KB
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
[metadata]
name = eureka-bang
author = Eureka! pipeline developers
author_email = kbstevenson@gmail.com
description = A data reduction and analysis pipeline intended for time-series observations with JWST.
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
url = https://github.com/kevin218/Eureka
project_urls =
Bug Tracker = https://github.com/kevin218/Eureka/issues
Source Code = https://github.com/kevin218/Eureka
keywords =
JWST
HST
timeseries
astronomy
exoplanets
transit
eclipse
light curve
phase curve
spectroscopy
photometry
data reduction
data analysis
pipeline
platforms = any
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Science/Research
Topic :: Scientific/Engineering :: Astronomy
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
Operating System :: OS Independent
[options]
package_dir =
=src
packages = find:
zip_safe = True
python_requires= >=3.11,<3.14
include_package_data = True
install_requires =
astraeus-io
astropy
astroquery
batman-package
bokeh
catwoman>=1.0.16 # Lower limit needed to avoid installation bug
ccdproc
celerite2 # Needed for GP
corner
crds
dynesty>1.0 # Lower limit needed for specific arguments
emcee>3.0.0 # Lower limit needed for specific arguments
exotic-ld@git+https://github.com/taylorbell57/ExoTiC-LD.git@0bb2ff8 # Pin needed for pkg_resources deprecation
fleck
george # Needed for GP
h5py>=3.7.0 # Lower limit needed to avoid issues with JWST I/O routines
lmfit
matplotlib>=3.6 # Lower limit needed for set_layout_engine()
mc3 # Needed for uncertainties in the RMS time-averaging plots in S5
numpy>=1.20.0,<2.0 # numpy 2.0 introduces breaking changes for some packages
pandas
pastasoss>=1.2.3 # Lower limit needed for pkg_resources deprecation
photutils
# planet-harmonica # Currently only supports for python 3.8 -- 3.10
planet-harmonica@git+https://github.com/DavoGrant/harmonica@main
requests
scipy>=1.12.0 # Lower limit needed for stcal.ramp_fitting.likely_fit
setuptools_scm>=6.2 # Needed to support pyproject.toml config
shapely
stdatamodels
svo_filters>=0.5.3 # Lower limit needed for pkg_resources deprecation
tqdm
[options.package_data]
eureka.lib = *.mplstyle
[options.packages.find]
where = src
[options.extras_require]
jwst =
jwst==1.20.2 # Pinned due to CRDS/stcal compatibility requirements
stcal>=1.15.2 # Lower limit needed for updated stcal.ramp_fitting.ramp_fit.ramp_fit arguments
hst =
image_registration@git+https://github.com/keflavich/image_registration@70e3880 # Need GitHub version to avoid np.float issue
docs =
myst-parser>=0.18.0 # Lower bound for stable MyST support
nbsphinx>=0.8.9 # Compatible with modern Sphinx and Jupyter
numpydoc>=1.5 # Avoids issues with recent Sphinx versions
sphinx>=6.0 # Modern baseline version
sphinx-automodapi>=0.13.0 # Known to work with sphinx>=6
sphinx-rtd-theme>=1.3.0 # Style updates and Sphinx compatibility
test =
flake8
pytest<8.0 # Upper limit due to asdf+pytest incompatibility
pytest-cov
pytest-doctestplus
jupyter =
ipykernel>=6.0.0 # Needed for modern Jupyter compatibility
ipympl>=0.9.3 # Needed for interactive backend stability
ipython>=7.0.0 # Avoid legacy issues with async REPL
jupyter>=1.0.0 # Base metapackage
dev =
build
twine
[flake8]
# Error codes explained here: https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
select = E1,E2,E3,E4,E5,E7,W6,F
ignore = W504,W503,E704,E226,E722
exclude =
# Ignore built files
./build/**/*
**/site-packages/**/*
# Ignore docs
./docs/**/*
# Ignore VS Code files
.vscode/*
# Ignore files in my ecfs folder
./ecfs/*
# Ignore run_eureka.py files in demos folder
**/run_eureka*.py
per-file-ignores =
# Need to have unused imports in the init files
**/__init__.py:F401
# Need unused imports in the init files, need to mute some warnings
./src/eureka/__init__.py:F401,E402
# Want to suppress the "figure with num: #### already exists" UserWarnings
./src/eureka/**/plots*.py:E402
# Using exec commands, so variable is actually used
**/manageevent.py:F841
# Need to allow prepending to PATH
./demos/**/run_*.py:E402
# Need to protect against crashes if jwst not installed
**/test_*.py:E402
# Need to protect against crashes if hst packages not installed
**/test_WFC3.py:F401,E402
# Keep the unused numpy so users can pass in numpy values (e.g. np.inf)
**/readECF.py:F401
# Keep the aligned values to explain what they are
**/hst_scan.py:E241
# Temporarily ignore unused s1 error until we have an S1 test
**/test_MIRI.py:F401,E402
# Ignore over length bibtex lines
./src/eureka/lib/citations.py:E501