forked from glue-viz/glue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
158 lines (148 loc) · 4.38 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
[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.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Topic :: Scientific/Engineering :: Visualization
License :: OSI Approved :: BSD License
description = Multidimensional data visualization across files
long_description = file: README.rst
# NOTE: below we have to exclude ipykernel 5.0.0 and 5.1.0 below due to a bug
# that caused issues in the IPython terminal. For more details:
# https://github.com/ipython/ipykernel/pull/376
[options]
zip_safe = False
packages = find:
python_requires = >=3.6
setup_requires = setuptools_scm
install_requires =
numpy>=1.16
matplotlib>=3.2
scipy>=1.0
pandas>=1.0
echo>=0.5
astropy>=4.0
setuptools>=30.3.0
qtpy>=1.9
ipython>=4.0
ipykernel>=4.0,!=5.0.0,!=5.1.0
qtconsole>=4.3
jupyter_client<7
dill>=0.2
xlrd>=1.2
h5py>=2.10
mpl-scatter-density>=0.7
bottleneck>=1.2
[options.entry_points]
glue.plugins =
export_d3po = glue.plugins.export_d3po:setup
pv_slicer = glue.plugins.tools.pv_slicer.qt:setup
coordinate_helpers = glue.plugins.coordinate_helpers:setup
wcs_autolinking = glue.plugins.wcs_autolinking:setup
dendro_factory = glue.plugins.dendro_viewer:setup
dendro_viewer = glue.plugins.dendro_viewer.qt:setup
image_viewer = glue.viewers.image.qt:setup
scatter_viewer = glue.viewers.scatter.qt:setup
histogram_viewer = glue.viewers.histogram.qt:setup
profile_viewer = glue.viewers.profile.qt:setup
table_viewer = glue.viewers.table.qt:setup
data_exporters = glue.core.data_exporters:setup
fits_format = glue.io.formats.fits:setup
export_python = glue.plugins.tools:setup
directory_importer = glue.io.qt.directory_importer:setup
console_scripts =
glue-config = glue.config_gen:main
glue-deps = glue._deps:main
gui_scripts =
glue = glue.main:main
[options.extras_require]
all =
scipy
scikit-image
PyAVM
astrodendro
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
sphinx-automodapi
sphinxcontrib-spelling
numpydoc
sphinx-rtd-theme
astronomy =
PyAVM
astrodendro
spectral-cube
recommended =
scikit-image
qt =
PyQt5>=5.9
test =
pytest
pytest-cov
pytest-faulthandler
objgraph
[options.package_data]
* = *.png, *.ui, *.glu, *.hdf5, *.fits, *.xlsx, *.txt, *.csv, *.svg, *.vot
glue.core.data_factories.tests = data/*.jpg
glue.external.pvextractor = LICENSE
glue.viewers.histogram.qt.tests = data/*.glu
glue.viewers.image.qt.tests = data/*.glu, baseline/*.png
glue.viewers.profile.qt.tests = data/*.glu
glue.viewers.scatter.qt.tests = data/*.glu
[flake8]
ignore = E501,E731,F841,E127,E741,E402,W504,W605
[tool:pytest]
addopts=-p no:logging
flake8-ignore = 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
ignore:'U' mode is deprecated:DeprecationWarning:PyQt5
[coverage:run]
omit =
glue/*tests/*
glue/qt/ui/*
glue/core/odict.py,
glue/core/glue_pickle.py
glue/external/*
*/glue/*tests/*
*/glue/qt/ui/*
*/glue/core/odict.py,
*/glue/core/glue_pickle.py
*/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_