-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
113 lines (104 loc) · 2.87 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
[metadata]
name = specprod-db
version = attr: specprodDB.__version__
author = DESI Collaboration
author_email = desi-data@desi.lbl.gov
license = BSD 3-Clause License
license_files = LICENSE.rst
url = https://github.com/desihub/specprod-db
description = DESI spectroscopic production database.
long_description = file: README.rst
long_description_content_type = text/x-rst
edit_on_github = True
github_project = desihub/specprod-db
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python :: 3
Topic :: Scientific/Engineering :: Astronomy
[options]
zip_safe = True
package_dir =
=py
packages = find:
include_package_data = True
python_requires = >=3.8
; setup_requires = setuptools_scm
install_requires =
pytz
numpy<1.23
astropy>=5.0
sqlalchemy
; pyyaml
; healpy
; matplotlib
scripts =
bin/load_specprod_db
bin/prepare_batch_specprod_db
; [options.entry_points]
; console_scripts =
; load_specprod_db = specprodDB.load:main
; prepare_batch_specprod_db = specprodDB.batch:main
[options.extras_require]
test =
pytest
coverage =
pytest-cov
coveralls
doc =
Sphinx
sphinx-rtd-theme
[options.package_data]
specprodDB =
attic/*
data/*
specprodDB.test = t/*
[options.packages.find]
where = py
exclude = .github/*
[coverage:run]
relative_files = True
source =
py/specprodDB
omit =
py/specprodDB/_version.py
py/specprodDB/conftest*
py/specprodDB/test/*
*/specprodDB/_version.py
*/specprodDB/conftest*
*/specprodDB/test/*
; [coverage:paths]
; source =
; py/specprodDB/
; */site-packages/specprodDB/
[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_
[pycodestyle]
# See https://pycodestyle.readthedocs.io/en/latest/intro.html#configuration
# for details of these configuration options.
#
# These are normally ignored by default:
# ignore = E121, E123, E126, E133, E226, E241, E242, E704, W503, W504
#
# In addition to the default set we add:
# - E501: line too long (82 > 79 characters)
# - E731: do not assign a lambda expression, use a def
# - E741: do not use variables named 'l', 'O', or 'I' -- because, for example,
# 'l' might refer to Galactic longitude.
ignore = E121, E123, E126, E133, E226, E241, E242, E501, E704, E731, E741, W503, W504