1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-18 21:39:24 +00:00

do not use version_tuple placeholder in setuptools_scm template

that would require setuptools_scm>=5.0.0 but some dists do not have that yet.
also, we do not use the version_tuple from _version.py, so it is not required
anyway.
This commit is contained in:
Thomas Waldmann 2022-09-13 21:25:35 +02:00
parent 1b3cbe2461
commit 3404346419

View file

@ -264,7 +264,7 @@ def members_appended(*ds):
name='borgbackup', name='borgbackup',
use_scm_version={ use_scm_version={
'write_to': 'src/borg/_version.py', 'write_to': 'src/borg/_version.py',
'write_to_template': '__version__ = version = {version!r}\n__version_tuple__ = version_tuple = {version_tuple!r}\n', 'write_to_template': '__version__ = version = {version!r}\n',
}, },
author='The Borg Collective (see AUTHORS file)', author='The Borg Collective (see AUTHORS file)',
author_email='borgbackup@python.org', author_email='borgbackup@python.org',