do not use setuptools_scm at runtime

This commit is contained in:
Paul Gauthier 2024-09-01 07:39:22 -07:00
parent 9bc61a656c
commit e6078357d2
2 changed files with 2 additions and 8 deletions

View file

@ -1,11 +1,6 @@
from setuptools_scm import get_version
try:
__version__ = get_version(root="..", relative_to=__file__)
from aider.__version__ import __version__
except Exception:
try:
from aider.__version__ import __version__
except Exception:
__version__ = "0.54.11-dev"
__version__ = "0.54.11-dev"
__all__ = [__version__]