Skip to content

Commit

Permalink
Make qtpy an optional dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Jun 4, 2024
1 parent e2f717d commit 43e2de5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions echo/qt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
from .connect import * # noqa
from .autoconnect import * # noqa
try:
from .connect import * # noqa
from .autoconnect import * # noqa
except ImportError:
pass
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ python_requires = >=3.8
setup_requires = setuptools_scm
install_requires =
numpy
qtpy
importlib_metadata; python_version<'3.9'

[options.extras_require]
Expand All @@ -41,4 +40,5 @@ docs =
numpydoc
sphinx-rtd-theme
qt =
qtpy
PyQt5>=5.14

0 comments on commit 43e2de5

Please sign in to comment.