Skip to content

Commit e43a78e

Browse files
authored
Merge pull request #6 from ianhi/ianhi-patch-2
avoid isort messing up builds?
2 parents 8378eaa + 2cbd086 commit e43a78e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mpl_point_clicker/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
# Copyright (c) Ian Hunt-Isaak.
44
# Distributed under the terms of the Modified BSD License.
55

6+
try:
7+
from ._version import version as __version__
8+
except ImportError: # pragma: no cover
9+
__version__ = "unknown"
610
from ._clicker import clicker
7-
from ._version import __version__
811

912
__all__ = [
1013
"__version__",

0 commit comments

Comments
 (0)