소스 검색

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.
Thomas Waldmann 2 년 전
부모
커밋
3d311143f3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pyproject.toml

+ 1 - 1
pyproject.toml

@@ -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