-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.cfg
129 lines (120 loc) · 3.23 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
[metadata]
name = desiutil
version = attr: desiutil.__version__
author = DESI Collaboration
author_email = [email protected]
license = BSD 3-Clause License
license_files = LICENSE.rst
url = https://github.com/desihub/desiutil
description = DESI utilities package
long_description = file: README.rst
long_description_content_type = text/x-rst
edit_on_github = True
github_project = desihub/desiutil
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
Topic :: System :: Software Distribution
Topic :: Utilities
[options]
zip_safe = True
package_dir =
=py
packages = find:
include_package_data = True
python_requires = >=3.10
# setup_requires = setuptools_scm
install_requires =
requests
pyyaml
astropy<7
scripts =
bin/annotate_fits
bin/desi_api_file
bin/desi_module_file
bin/desi_update_version
bin/desiBootstrap.sh
bin/desiInstall
bin/fix_permissions.sh
bin/update_iers_frozen
# [options.entry_points]
# console_scripts =
# annotate_fits = desiutil.annotate:main
# desiInstall = desiutil.install:main
# desi_api_file = desiutil.api:main
# desi_module_file = desiutil.modules:main
# desi_update_version = desiutil.setup:main
[options.extras_require]
all =
healpy
matplotlib
scipy
speclite
test =
desiutil[all]
pytest
coverage =
desiutil[all]
pytest-cov
coveralls
doc =
Sphinx
sphinx-rtd-theme
[options.package_data]
desiutil = data/*
desiutil.test = t/*
[options.packages.find]
where = py
exclude = .github/*
[coverage:run]
relative_files = True
source =
py/desiutil
omit =
py/desiutil/_version.py
py/desiutil/conftest*
py/desiutil/test/*
*/desiutil/_version.py
*/desiutil/conftest*
*/desiutil/test/*
# [coverage:paths]
# source =
# py/desiutil/
# */site-packages/desiutil/
[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
#
# These are the explicitly ignored styles:
# - E226: missing whitespace around arithmetic operator
# - E241: multiple spaces after ','
# - E741: ambiguous variable name 'l', see desutil.dust._Hemisphere.ebv().
# - W504: line break after binary operator
#
# And finally this one is not ignored, but modified by max-line-length.
# - E501: line too long (82 > 79 characters)
max-line-length = 160
ignore = E226, E241, E741, W504