forked from asdf-format/asdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
116 lines (109 loc) · 3.32 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
[metadata]
name = asdf
description = Python implementation of the ASDF Standard
long_description = file: README.rst
long_description_content_type = text/x-rst
author = The ASDF Developers
author_email = [email protected]
license = BSD-3-Clause
license_file = LICENSE
url = http://github.com/asdf-format/asdf
project_urls =
Bug Tracker = https://github.com/asdf-format/asdf/issues
Documentation = https://asdf.readthedocs.io/en/stable
Source Code = https://github.com/asdf-format/asdf
classifiers =
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Development Status :: 5 - Production/Stable
[options]
python_requires= >=3.6
setup_requires = setuptools_scm
install_requires =
importlib_resources>=3;python_version<"3.9"
jmespath>=0.6.2
jsonschema>=3.0.2,<4
numpy>=1.10
packaging>=16.0
pyyaml>=3.10
semantic_version>=2.8
[options.extras_require]
all =
lz4>=0.10
docs =
sphinx
sphinx-astropy
astropy
graphviz
matplotlib
docutils
tests =
# As of 2020-07-28, pytest-doctestplus is not compatible
# with pytest 6.0.0.
pytest<6
astropy
gwcs
pytest-doctestplus
pytest-remotedata
pytest-openfiles
psutil
[options.entry_points]
console_scripts =
asdftool = asdf.commands.main:main
asdf_extensions =
builtin = asdf.extension:BuiltinExtension
pytest11 =
asdf_schema_tester = pytest_asdf.plugin
asdf.resource_mappings =
asdf = asdf.resource:get_core_resource_mappings
[build_sphinx]
source-dir = docs
build-dir = docs/_build
all_files = 1
[upload_docs]
upload-dir = docs/_build/html
show-response = 1
[tool:pytest]
testpaths = asdf docs asdf-standard/schemas
minversion = 4.6
norecursedirs = build docs/_build docs/sphinxext
doctest_plus = enabled
remote_data_strict = True
open_files_ignore = test.fits asdf.fits
# The asdf.asdftypes module emits a warning on import,
# which pytest trips over during collection:
filterwarnings =
ignore::asdf.exceptions.AsdfDeprecationWarning:asdf.asdftypes
ignore:numpy.ndarray size changed:astropy.utils.exceptions.AstropyWarning
ignore:numpy.ndarray size changed:RuntimeWarning
# Configuration for pytest-doctestplus
text_file_format = rst
# Account for both the astropy test runner case and the native pytest case
asdf_schema_root = asdf-standard/schemas asdf/schemas
asdf_schema_skip_tests =
stsci.edu/asdf/asdf-schema-1.0.0.yaml
stsci.edu/asdf/transform/domain-1.0.0.yaml
stsci.edu/asdf/wcs/celestial_frame-1.0.0.yaml
stsci.edu/asdf/wcs/celestial_frame-1.1.0.yaml
stsci.edu/asdf/wcs/frame-1.0.0.yaml
stsci.edu/asdf/wcs/frame-1.1.0.yaml
stsci.edu/asdf/wcs/spectral_frame-1.1.0.yaml
stsci.edu/asdf/wcs/step-1.1.0.yaml
stsci.edu/asdf/wcs/step-1.2.0.yaml
stsci.edu/asdf/wcs/wcs-1.1.0.yaml
stsci.edu/asdf/wcs/wcs-1.2.0.yaml
stsci.edu/yaml-schema/draft-01.yaml
asdf_schema_xfail_tests =
stsci.edu/asdf/core/ndarray-1.0.0.yaml::test_example_2
# Enable the schema tests by default
asdf_schema_tests_enabled = true
asdf_schema_ignore_unrecognized_tag = true
addopts = --doctest-rst
[flake8]
exclude = extern, docs/conf.py, .tox, .eggs
select = F,W,E101,E111,E502,E722,E901,E902
ignore = W503,W504