forked from panoptes/panoptes-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
195 lines (174 loc) · 4.55 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
[metadata]
name = panoptes-utils
description = Astronomical utilities for PANOPTES
author = PANOPTES Team
author-email = [email protected]
license = mit
long-description = file: README.md
long-description-content-type = text/markdown; charset=UTF-8
url = https://github.com/panoptes/panoptes-utils
project-urls =
Documentation = https://panoptes-utils.readthedocs.io
POCS Documentation = https://pocs.readthedocs.io
Project PANOPTES = https://www.projectpanoptes.org
Forum = https://forum.projectpanoptes.org
# Change if running only on Windows, Mac or Linux (comma-separated)
platforms = linux
# Add here all kinds of additional classifiers as defined under
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers =
Development Status :: 4 - Beta
Environment :: Console
Intended Audience :: Science/Research
License :: OSI Approved :: MIT License
Operating System :: POSIX
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3 :: Only
Topic :: Scientific/Engineering :: Astronomy
Topic :: Scientific/Engineering :: Physics
[options]
zip_safe = False
packages = find:
include_package_data = True
package_dir =
=src
scripts =
bin/cr2-to-jpg
# DON'T CHANGE THE FOLLOWING LINE! IT WILL BE UPDATED BY PYSCAFFOLD!
setup_requires = pyscaffold>=3.2a0,<3.3a0
# Add here dependencies of your project (semicolon/line-separated), e.g.
install_requires =
astroplan
astropy
click
Flask
holoviews
hvplot
loguru
matplotlib
numpy
pandas>1.0.0,!=1.0.4
photutils
pillow<7
python-dateutil
pyserial
PyYAML>=5.3.1
requests
ruamel.yaml
scalpl
scipy
tqdm
tweepy
# The usage of test_requires is discouraged, see `Dependency Management` docs
# tests_require = pytest; pytest-cov
# Require a specific Python version, e.g. Python 2.7 or >= 3.4
python_requires = >=3.8
[options.packages.find]
where = src
exclude =
tests
[options.extras_require]
# Add here additional requirements for extra features, to install with:
# `pip install panoptes-utils[PDF]` like:
# PDF = ReportLab; RXP
# Add here test requirements (semicolon/line-separated)
testing =
pytest
pytest-cov
pycodestyle
mocket
coverage
pytest-remotedata>=0.3.1'
google =
google-cloud-bigquery[pandas, pyarrow]
[options.entry_points]
# Add here console scripts like:
console_scripts =
panoptes-config-server = panoptes.utils.config.cli:config_server_cli
[test]
# py.test options when running `python setup.py test`
# addopts = --verbose
extras = True
[tool:pytest]
addopts =
--strict-markers
--doctest-modules
--test-databases all
--strict-markers
-x
-vv
-ra
norecursedirs =
script
resources
dist
build
.tox
testpaths = tests src
doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE ALLOW_UNICODE IGNORE_EXCEPTION_DETAIL
filterwarnings =
ignore:elementwise == comparison failed:DeprecationWarning
ignore::pytest.PytestDeprecationWarning
doctest_plus = enabled
markers =
astrometry: tests that require astrometry.net (i.e. solve-field).
theskyx: tests that require TheSkyX to also be running.
slow: marks tests as slow (deselect with '-m "not slow"').
[aliases]
dists = bdist_wheel
[bdist_wheel]
# Use this option if your package is pure-python
universal = 1
[build_sphinx]
source_dir = docs
build_dir = build/sphinx
[devpi:upload]
# Options for the devpi: PyPI server and packaging tool
# VCS export must be deactivated since we are using setuptools-scm
no-vcs = 1
formats = bdist_wheel
[flake8]
# Some sane defaults for the code style checker flake8
exclude =
.tox
build
dist
.eggs
docs/conf.py
[pycodestyle]
max-line-length = 100
[coverage:run]
branch = True
concurrency =
multiprocessing
parallel = True
[coverage:paths]
source =
src/
*/site-packages/
[coverage:report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about missing debug-only code:
def __repr__
if self\.debug
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
show_missing = True
ignore_errors = True
[pyscaffold]
# PyScaffold's parameters when the project was created.
# This will be used when updating. Do not change!
version = 3.2.3
package = utils
extensions =
no_skeleton
namespace
namespace = panoptes