mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 05:45:00 +00:00
20 lines
496 B
Python
20 lines
496 B
Python
from packaging import version
|
|
|
|
__version__ = "0.69.2.dev"
|
|
safe_version = __version__
|
|
|
|
try:
|
|
from aider._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__]
|