Skip to content

Commit

Permalink
Tidied up dependencies
Browse files Browse the repository at this point in the history
astrofrog committed Aug 18, 2023
1 parent a7dbea6 commit 6477fc2
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 2 additions & 5 deletions glue_vispy_viewers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
from pkg_resources import get_distribution, DistributionNotFound
import importlib.metadata

try:
__version__ = get_distribution(__name__).version
except DistributionNotFound:
__version__ = 'undefined'
__version__ = importlib.metadata.version('glue-vispy-viewers')

try:
import OpenGL # noqa
6 changes: 4 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -15,12 +15,12 @@ install_requires =
pyopengl
glue-core>=1.0
glue-qt>=0.1
echo>=0.6
qtpy
scipy
astropy>=4.0
pillow
matplotlib
vispy>=0.9.1
importlib_metadata>=3.6; python_version<'3.10'
python_requires = >=3.8

[options.entry_points]
@@ -39,6 +39,8 @@ test =
mock
qt =
PyQt5>=5.9
all =
imageio

[options.package_data]
glue_vispy_viewers.common = *.ui, *.png

0 comments on commit 6477fc2

Please sign in to comment.