Skip to content

Commit 8f4c364

Browse files
committed
set __version__
1 parent 5c840b9 commit 8f4c364

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

i6_models/__init__.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1+
"""
2+
i6_models root import
3+
"""
14

5+
from .__setup__ import get_version_str as _get_version_str
6+
7+
__long_version__ = _get_version_str(
8+
fallback="1.0.0+unknown", long=True, verbose_error=True
9+
) # `SemVer <https://semver.org/>`__ compatible
10+
__version__ = __long_version__[: __long_version__.index("+")] # distutils.version.StrictVersion compatible
11+
__git_version__ = __long_version__ # just an alias, to keep similar to other projects

0 commit comments

Comments
 (0)