mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-21 06:48:55 +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. forward port of #7024.
This commit is contained in:
parent
ca2cd9ad25
commit
3d311143f3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue