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.

forward port of #7024.
This commit is contained in:
Thomas Waldmann 2022-09-17 13:37:38 +02:00
parent ca2cd9ad25
commit 3d311143f3
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015052
# https://github.com/borgbackup/borg/issues/6875
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"
[tool.black]
line-length = 120