-
-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathsetup.cfg
More file actions
132 lines (121 loc) · 3.82 KB
/
setup.cfg
File metadata and controls
132 lines (121 loc) · 3.82 KB
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
[tool:pytest]
minversion = 7.0
norecursedirs = build docs/_build
testpaths = "pyvo" "docs"
astropy_header = true
doctest_plus = enabled
text_file_format = rst
addopts = --doctest-rst --doctest-continue-on-failure
remote_data_strict = true
timeout = 30
filterwarnings =
error
ignore:numpy.ndarray size changed:RuntimeWarning
ignore:unclosed <socket:ResourceWarning
ignore:unclosed <ssl.SSLSocket:ResourceWarning
# This can be removed once the minimum astropy is 5.0.1?
ignore:distutils Version classes are deprecated:DeprecationWarning
# Numpy 2.0 deprecations triggered by upstream libraries.
# Exact warning messages differ, thus using a super generic filter.
ignore:numpy.core:DeprecationWarning
# We need to ignore this module level warning to not cause issues at collection time.
# Remove it once warning is removed from code (in 1.7).
ignore:pyvo.discover:pyvo.utils.prototype.PrototypeWarning
# These started to show up in CI for the oldestdeps run, however it has nothing to do with
# anything in pyvo, so we just do the blanket ignore
ignore:leap-second auto-update failed::astropy
[flake8]
max-line-length = 110
max-doc-length = 110
exclude = __init__.py, conf.py, setup.py, version.py, conftest.py
# W503 line break before operator
# E124 closing bracket does not match visual indentation
# E127 continuation line over-indented for visual indent
# E226 missing whitespace around arithmetic operator
ignore = W503,E124,E127,E226,E128,E131
[pycodestyle]
max-line-length = 110
max-doc-length = 110
[metadata]
name = pyvo
description = Astropy affiliated package for accessing Virtual Observatory data and services
long_description = file: README.rst
author = the PyVO Developers
license = BSD-3-Clause
license_file = LICENSE.rst
edit_on_github = False
github_project = astropy/pyvo
project_urls =
Source = https://github.com/astropy/pyvo
Documentation = https:/pyvo.readthedocs.io
classifiers =
Intended Audience :: Science/Research
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Topic :: Database
Topic :: Scientific/Engineering :: Astronomy
Topic :: Software Development :: Libraries
[options]
packages = find:
zip_safe = False
setup_requires = setuptools_scm
install_requires =
astropy>=5.0
requests
python_requires = >=3.10
[options.extras_require]
all =
pillow
defusedxml
test =
pytest-doctestplus>=0.13
pytest-astropy
requests-mock
pytest-timeout
docs =
sphinx-astropy
[options.package_data]
pyvo.auth.tests = data/tap/*.xml
pyvo.io.uws.tests = data/*.xml
pyvo.io.vosi.tests = data/*.xml, data/tables/*.xml, data/capabilities/*.xml
pyvo.registry.tests = data/*.xml, data/*.desise
pyvo.mivot.writer = *.xsd
pyvo.mivot.tests = data/*.xml, data/input/*.xml, data/output/*.xml, data/reference/*json, data/reference/*xml
pyvo.dal.tests = data/*.xml, data/*/*
pyvo.samp = data/astropy_icon.png, data/*xml
[options.entry_points]
console_scripts =
samp_hub = astropy.samp.hub_script:hub_script
[coverage:run]
source = pyvo
omit =
pyvo/_astropy_init*
pyvo/conftest.py
pyvo/*setup_package*
pyvo/tests/*
pyvo/*/tests/*
pyvo/extern/*
pyvo/version*
*/pyvo/_astropy_init*
*/pyvo/conftest.py
*/pyvo/*setup_package*
*/pyvo/tests/*
*/pyvo/*/tests/*
*/pyvo/extern/*
*/pyvo/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_