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: try:
__version__ = get_version(root="..", relative_to=__file__) from aider.__version__ import __version__
except Exception: except Exception:
try: __version__ = "0.54.11-dev"
from aider.__version__ import __version__
except Exception:
__version__ = "0.54.11-dev"
__all__ = [__version__] __all__ = [__version__]

View file

@ -25,7 +25,6 @@ importlib_resources
pyperclip pyperclip
pexpect pexpect
json5 json5
setuptools_scm>=8
# The proper depdendency is networkx[default], but this brings # The proper depdendency is networkx[default], but this brings
# in matplotlib and a bunch of other deps # in matplotlib and a bunch of other deps