forked from kevin218/Eureka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
135 lines (127 loc) · 3.48 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
[metadata]
name = eureka
author = Eureka! pipeline developers
author_email = [email protected]
description = A data reduction and analysis pipeline intended for time-series observations with the James Webb Space Telescope (JWST).
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT License
license_file = LICENSE
url = https://github.com/kevin218/Eureka
project_urls =
Bug Tracker = https://github.com/kevin218/Eureka/issues
Source Code = https://github.com/kevin218/Eureka
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: BSD License
Operating System :: OS Independent
[options]
package_dir =
=src
packages = find:
zip_safe = True
python_requires= >=3.8
setup_requires =
cython
install_requires =
astraeus @ git+https://github.com/kevin218/Astraeus@main
astropy
astroquery
batman-package
bokeh < 3.0
ccdproc
celerite # Needed for GP
corner
crds
cython
dask < 2022.6.1
dynesty > 1.0
emcee > 3.0.0
exotic-ld
george # Needed for GP
gwcs
h5py < 3.2
jsonschema < 4.10.0 # 4.10.0 breaks S2 ASDF stuff for some reason
lmfit
matplotlib
numpy>=1.20.0,<=1.22 # Upper limit required for theano, starry, and pymc3
pandas
photutils
scipy >= 1.4.0 # Needed for scipy.fft
setuptools_scm
stdatamodels
svo_filters
tqdm
[options.packages.find]
where = src
[options.extras_require]
jwst =
jwst==1.8.2
stcal >= 1.0.0 # Needed for our create_integration_model function
asdf
hst =
image_registration==0.2.6
docs =
myst-parser
nbsphinx
numpydoc
sphinx
sphinx-automodapi
sphinx-rtd-theme
test =
flake8
pytest
pytest-cov
pytest-doctestplus
pymc3 =
exoplanet
# mkl-service # Needed for theano - only available by conda install mkl-service
pymc3
starry>=1,<2
theano-pymc
jupyter =
jupyter
ipykernel
[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
# Temporarily ignore NIRISS files
**/*niriss*.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
# 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 modify c compiler settings before importing starry
**/differentiable_models/*.py:E402
# Need to have unused imports in the init file
**/differentiable_models/__init__.py:F401
# 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