fix import error
This commit is contained in:
parent
e02cb6d7ce
commit
a280e43949
|
@ -1,7 +1,7 @@
|
||||||
__all__ = ['__version__']
|
__all__ = ['__version__']
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from ._version import __version__
|
from ._version import version as __version__
|
||||||
except ImportError:
|
except ImportError:
|
||||||
# broken installation, we don't even try
|
# broken installation, we don't even try
|
||||||
# unknown only works because we do poor mans version compare
|
# unknown only works because we do poor mans version compare
|
||||||
|
|
Loading…
Reference in New Issue