forked from astropy/astropy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
201 lines (193 loc) · 6.61 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
[metadata]
name = astropy
author = The Astropy Developers
author_email = [email protected]
license = BSD-3-Clause
license_files = LICENSE.rst
url = http://astropy.org
project_urls =
Documentation = https://docs.astropy.org
Source = https://github.com/astropy/astropy
description = Astronomy and astrophysics core library
long_description = file: README.rst
keywords = astronomy, astrophysics, cosmology, space, science,units, table, wcs, samp, coordinate, fits, modeling, models, fitting, ascii
classifiers =
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: C
Programming Language :: Cython
Programming Language :: Python :: 3
Programming Language :: Python :: Implementation :: CPython
Topic :: Scientific/Engineering :: Astronomy
Topic :: Scientific/Engineering :: Physics
[options]
# We set packages to find: to automatically find all sub-packages
packages = find:
zip_safe = False
tests_require = pytest-astropy
install_requires =
numpy>=1.22
pyerfa>=2.0
astropy-iers-data>=0.2023.7.31.0.32.45
PyYAML>=3.13
packaging>=19.0
python_requires = >=3.9
[options.packages.find]
exclude = astropy._dev
[options.entry_points]
console_scripts =
fits2bitmap = astropy.visualization.scripts.fits2bitmap:main
fitscheck = astropy.io.fits.scripts.fitscheck:main
fitsdiff = astropy.io.fits.scripts.fitsdiff:main
fitsheader = astropy.io.fits.scripts.fitsheader:main
fitsinfo = astropy.io.fits.scripts.fitsinfo:main
samp_hub = astropy.samp.hub_script:hub_script
showtable = astropy.table.scripts.showtable:main
volint = astropy.io.votable.volint:main
wcslint = astropy.wcs.wcslint:main
[options.extras_require]
test = # Required to run the astropy test suite.
pytest>=7.0
pytest-doctestplus>=0.12
pytest-astropy-header>=0.2.1
pytest-astropy>=0.10
pytest-xdist
test_all = # Required for testing, plus packages used by particular tests.
pytest>=7.0
pytest-doctestplus>=0.12
pytest-astropy-header>=0.2.1
pytest-astropy>=0.10
pytest-xdist
objgraph
ipython>=4.2
coverage[toml]
skyfield>=1.20
sgp4>=2.3
recommended =
scipy>=1.5
matplotlib>=3.3,!=3.4.0,!=3.5.2
all =
scipy>=1.5
matplotlib>=3.3,!=3.4.0,!=3.5.2
certifi
dask[array]
h5py
pyarrow>=5.0.0
beautifulsoup4
html5lib
bleach
pandas
sortedcontainers
pytz
jplephem
mpmath
asdf-astropy>=0.3
bottleneck
ipython>=4.2
pytest>=7.0
typing_extensions>=3.10.0.1
fsspec[http]>=2022.8.2
s3fs>=2022.8.2
pre-commit
docs =
sphinx
sphinx-astropy[confv2]>=1.9.1
pytest>=7.0
scipy>=1.3
matplotlib>=3.3,!=3.4.0,!=3.5.2
sphinx-changelog>=1.2.0
sphinx_design
Jinja2>=3.0
[options.package_data]
* = data/*, data/*/*, data/*/*/*, data/*/*/*/*, data/*/*/*/*/*, data/*/*/*/*/*/*
astropy = astropy.cfg, CITATION
astropy.cosmology = *.ecsv
astropy.tests.figures = *.json
astropy.wcs = include/*/*.h
astropy.wcs.tests = extension/*.c
# Delete with deprecated astropy.utils.misc.walk_skip_hidden()
astropy.utils.tests = data/.hidden_file.txt
[tool:pytest]
minversion = 7.0
testpaths = "astropy" "docs"
norecursedirs =
"docs[\/]_build"
"docs[\/]generated"
"astropy[\/]extern"
"astropy[\/]_dev"
astropy_header = true
doctest_plus = enabled
text_file_format = rst
remote_data_strict = true
addopts = --color=yes --doctest-rst
xfail_strict = true
qt_no_exception_capture = 1
filterwarnings =
error
ignore:unclosed <socket:ResourceWarning
ignore:unclosed <ssl.SSLSocket:ResourceWarning
# Can be removed once Python>=3.11 is the minimum dependency,
# cf. https://github.com/astropy/astropy/issues/13907
ignore:unclosed transport <asyncio.sslproto
ignore:numpy\.ufunc size changed:RuntimeWarning
ignore:numpy\.ndarray size changed:RuntimeWarning
# The next 2 maybe fixed by https://github.com/scipy/scipy/pull/19067
ignore:The numpy\.array_api submodule is still experimental:UserWarning
ignore:((.|\n)*)numpy\.distutils:DeprecationWarning
ignore:Importing from numpy:DeprecationWarning:scipy
ignore:Conversion of the second argument:FutureWarning:scipy
ignore:Using a non-tuple sequence:FutureWarning:scipy
ignore:Using or importing the ABCs from 'collections':DeprecationWarning
ignore:Unknown pytest\.mark\.mpl_image_compare:pytest.PytestUnknownMarkWarning
ignore:Unknown config option:pytest.PytestConfigWarning
ignore:matplotlibrc text\.usetex:UserWarning:matplotlib
ignore:The 'text' argument to find\(\)-type methods is deprecated:DeprecationWarning
# Triggered by ProgressBar > ipykernel.iostream
ignore:the imp module is deprecated:DeprecationWarning
# Ignore a warning we emit about not supporting the parallel
# reading option for now, can be removed once the issue is fixed
ignore:parallel reading does not currently work, so falling back to serial
# Ignore deprecation warning triggered by s3fs (fsspec/s3fs#716)
ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning
doctest_norecursedirs =
*/setup_package.py
doctest_subpackage_requires =
astropy/table/mixins/dask.py = dask
docs/io/fits/index.rst = numpy<1.25 # NUMPY_LT_1_25 (Issue 14545)
docs/io/fits/usage/image.rst = numpy<1.25 # NUMPY_LT_1_25 (Issue 14545)
docs/io/fits/usage/unfamiliar.rst = numpy<1.25 # NUMPY_LT_1_25 (Issue 14545)
[flake8]
max-line-length = 88
select = E,F,W
exclude = extern,*parsetab.py,*lextab.py
extend-ignore = E203,E501,E711,E721,E731,E741,F403,F841,W5
per-file-ignores =
__init__.py:F401,F403,E402
test_*.py:E402
astropy/io/fits/card.py:E131
astropy/io/registry/compat.py:F822
astropy/convolution/convolve.py:E241
astropy/modeling/functional_models.py:E226,E241
astropy/modeling/models.py:F401,F403,F405
astropy/modeling/tests/test_constraints.py:E241
astropy/stats/tests/test_histogram.py:E241
astropy/stats/tests/test_sigma_clipping.py:E126,E131,E241
astropy/units/__init__.py:F401,F821
astropy/units/astrophys.py:F821
astropy/units/cgs.py:F821
astropy/units/imperial.py:F821
astropy/units/misc.py:F821
astropy/units/photometric.py:F821
astropy/units/si.py:F821
astropy/units/tests/test_quantity_decorator.py:F821
astropy/units/tests/test_quantity_typing.py:F821
astropy/wcs/wcs.py:F821
astropy/wcs/wcsapi/fitswcs.py:F821
astropy/wcs/wcsapi/utils.py:E127,E128
docs/conf.py:F401
examples/*.py:E1,E2,E402
*/examples/*.py:E1,E2,E402
[pycodestyle]
max-line-length = 88
exclude = extern,*parsetab.py,*lextab.py