-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.cfg
129 lines (119 loc) · 3.64 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 = glue-qt
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 = 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.8
setup_requires = setuptools_scm
install_requires =
glue-core>=1.15.0
numpy>=1.17
matplotlib>=3.2
scipy>=1.1
echo>=0.6
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,!=5.4.2
pvextractor>=0.2
importlib_resources>=1.3; python_version<'3.9'
importlib_metadata>=3.6; python_version<'3.10'
[options.entry_points]
glue.plugins =
pv_slicer = glue_qt.plugins.tools.pv_slicer:setup
dendro_viewer = glue_qt.plugins.dendro_viewer:setup
image_viewer = glue_qt.viewers.image:setup
scatter_viewer = glue_qt.viewers.scatter:setup
histogram_viewer = glue_qt.viewers.histogram:setup
profile_viewer = glue_qt.viewers.profile:setup
table_viewer = glue_qt.viewers.table:setup
directory_importer = glue_qt.io.directory_importer:setup
gui_scripts =
glue = glue_qt.main:main
[options.extras_require]
docs =
sphinx<7
sphinx-automodapi
sphinxcontrib-spelling
numpydoc
sphinx-book-theme
qt =
PyQt5>=5.14
test =
pytest
pytest-cov
pytest-faulthandler
pytest-flake8
objgraph
[options.package_data]
* = *.png, *.ui, *.glu, *.hdf5, *.fits, *.xlsx, *.txt, *.csv, *.svg, *.vot
glue_qt.viewers.histogram.tests = data/*.glu
glue_qt.viewers.image.tests = data/*.glu, baseline/*.png
glue_qt.viewers.profile.tests = data/*.glu
glue_qt.viewers.scatter.tests = data/*.glu
[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
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_