-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.cfg
119 lines (111 loc) · 3.62 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
[metadata]
name = srttools
author = Matteo Bachetti and the Discos Team
author_email = [email protected]
license = BSD 3-Clause
license_file = licenses/LICENSE.rst
url = https://srt-single-dish-tools.readthedocs.io
description = Tools for the analysis and conversion of SRT data
long_description = file: README.rst
long_description_content_type = text/x-rst
edit_on_github = True
github_project = discos/srt-single-dish-tools
[options]
zip_safe = False
packages = find:
python_requires = >=3.8
setup_requires = setuptools_scm
install_requires =
astropy
scipy>=1.0
numpy>=1.17
h5py
pyyaml
colorama
[options.entry_points]
console_scripts =
SDTcal = srttools.calibration:main_cal
SDTfake = srttools.simulate:main_simulate
SDTimage = srttools.imager:main_imager
SDTinspect = srttools.inspect_observations:main_inspector
SDTlcurve = srttools.calibration:main_lcurve
SDTpreprocess = srttools.imager:main_preprocess
SDTopacity = srttools.opacity:main_opacity
SDTmonitor = srttools.monitor:main_monitor
SDTconvert = srttools.convert:main_convert
SDTbulkchange = srttools.io:main_bulk_change
SDTparselog = srttools.parse_acs_logs:main_parse_acs_logs
[options.extras_require]
test =
pytest-astropy
pytest-asyncio
docs =
sphinx-astropy
all =
matplotlib
mahotas
numba
regions
watchdog
tornado
statsmodels>=0.8.0
sunpy
[options.package_data]
srttools = data/*, data/*/*, data/*/*/*, tests/data/*.fits*, tests/data/*/*.fits*, tests/data/*.ini, tests/data/*/*.ini, tests/data/acs.xml, tests/data/*.reg
srttools.tests = coveragerc
[tool:pytest]
testpaths = "srttools" "docs"
astropy_header = true
doctest_plus = enabled
text_file_format = rst
addopts = --doctest-rst
filterwarnings =
error:.*:DeprecationWarning
ignore:Matplotlib is currently using agg, which is a:UserWarning
ignore:Using or importing the ABCs from 'collections':DeprecationWarning
ignore:`product` is deprecated as of NumPy 1.25.0:DeprecationWarning
ignore:unclosed file:ResourceWarning
ignore:numpy.ufunc size changed:RuntimeWarning
ignore:numpy.ndarray size changed:RuntimeWarning
ignore:invalid value encountered:RuntimeWarning
ignore:divide by zero encountered:RuntimeWarning
ignore:underflow encountered:RuntimeWarning
ignore:overflow encountered:RuntimeWarning
ignore:table path was not set via the path= argument; using default path:UserWarning
ignore:Beware! For cpds and derivatives, I assume that:UserWarning
ignore:.*deprecated alias for the builtin:DeprecationWarning
ignore:.*The repeat count of the column format:astropy.io.fits.verify.VerifyWarning
[coverage:run]
omit =
srttools/_astropy_init*
srttools/conftest.py
srttools/*setup_package*
srttools/tests/*
srttools/*/tests/*
srttools/extern/*
srttools/version*
*/srttools/_astropy_init*
*/srttools/conftest.py
*/srttools/*setup_package*
*/srttools/tests/*
*/srttools/*/tests/*
*/srttools/extern/*
*/srttools/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_
[flake8]
max-line-length = 100
exclude = extern,*parsetab.py,*lextab.py,test_*.py,__*.py