forked from glue-viz/glue
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
144 lines (135 loc) · 3.84 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
[metadata]
name = glue-core
url = http://glueviz.org
author = Thomas Robitaille, Chris Beaumont
author_email = [email protected]
classifiers =
Intended Audience :: Science/Research
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Scientific/Engineering :: Visualization
License :: OSI Approved :: BSD License
description = Core library for the glue multidimensional data visualization project
long_description = file: README.rst
[options]
zip_safe = False
packages = find:
python_requires = >=3.8
setup_requires = setuptools_scm
install_requires =
numpy>=1.17
matplotlib>=3.2
scipy>=1.1
pandas>=1.2
echo>=0.6
astropy>=4.0
setuptools>=30.3.0
ipython>=4.0
dill>=0.2
h5py>=2.10; python_version<'3.11'
xlrd>=1.2
openpyxl>=3.0
mpl-scatter-density>=0.7
pvextractor>=0.2
importlib_resources>=1.3; python_version<'3.9'
importlib_metadata>=3.6; python_version<'3.10'
# For now, we include a dependency on glue-qt so that imports of the
# Qt-related functionality continue to work albeit with a deprecation
# warning. Once the deprecation phase is over, we can remove this
# dependency as well as all the compatibility imports.
glue-qt>=0.1.0
shapely>=2.0
[options.entry_points]
glue.plugins =
coordinate_helpers = glue.plugins.coordinate_helpers:setup
wcs_autolinking = glue.plugins.wcs_autolinking:setup
dendro_factory = glue.plugins.dendro_viewer:setup
data_exporters = glue.core.data_exporters:setup
fits_format = glue.io.formats.fits:setup
export_python = glue.plugins.tools:setup
console_scripts =
glue-config = glue.config_gen:main
[options.extras_require]
all =
scipy
scikit-image
PyAVM
astrodendro
h5py>=2.10
spectral-cube
# See https://github.com/python-pillow/Pillow/issues/4509
# for why we exclude pillow 7.1.0
pillow!=7.1.0
docs =
sphinx<7
sphinx-automodapi
sphinxcontrib-spelling
numpydoc
sphinx-book-theme
astronomy =
PyAVM
astrodendro
spectral-cube
recommended =
scikit-image
test =
pytest
pytest-cov
pytest-faulthandler
pytest-flake8
h5py>=2.10; platform_system=="Linux"
objgraph
visualtest =
pytest-mpl
[options.package_data]
* = *.png, *.ui, *.glu, *.hdf5, *.fits, *.xlsx, *.txt, *.csv, *.svg, *.vot
glue.core.data_factories.tests = data/*.jpg
[flake8]
ignore = E226,E501,E731,F841,E127,E741,E402,W504,W605
[tool:pytest]
addopts=-p no:logging
flake8-ignore = E226,E501,E731,F841,E127,E741,E402,W504,W605
filterwarnings =
ignore::PendingDeprecationWarning:xlrd
ignore:Session._key_changed is deprecated
ignore:zmq.* is deprecated
ignore:can't be aliased because it is another magic command
ignore:DragAndDropTerminal._style_sheet_changed is deprecated
ignore:::ipykernel
ignore:Accessing zmq Socket attribute
[coverage:run]
omit =
glue/tests/*
glue/*/tests/*
glue/*/*/tests/*
glue/*/*/*/tests/*
glue/external/*
*/glue/tests/*
*/glue/*/tests/*
*/glue/*/*/tests/*
*/glue/*/*/*/tests/*
*/glue/external/*
[coverage:paths]
source =
glue/
*/site-packages/glue
*\site-packages\glue
[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_