Skip to content

Commit 2cbd086

Browse files
authored
avoid isort messing up builds?
1 parent 8378eaa commit 2cbd086

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)