mirror of
https://github.com/hanzoai/cli.git
synced 2026-10-30 15:00:27 +00:00
21 lines
494 B
Python
21 lines
494 B
Python
from packaging import version
|
|
|
|
__version__ = "0.74.3.dev"
|
|
safe_version = __version__
|
|
|
|
try:
|
|
from dev._version import __version__
|
|
except Exception:
|
|
__version__ = safe_version + "+import"
|
|
|
|
if type(__version__) is not str:
|
|
__version__ = safe_version + "+type"
|
|
else:
|
|
try:
|
|
if version.parse(__version__) < version.parse(safe_version):
|
|
__version__ = safe_version + "+less"
|
|
except Exception:
|
|
__version__ = safe_version + "+parse"
|
|
|
|
__all__ = [__version__]
|