mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 01:37:20 +00:00
3d311143f3
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.
14 lines
544 B
TOML
14 lines
544 B
TOML
[build-system]
|
|
requires = ["setuptools", "pkgconfig", "Cython", "setuptools_scm[toml]>=6.2"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools_scm]
|
|
# make sure we have the same versioning scheme with all setuptools_scm versions, to avoid different autogenerated files
|
|
# 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"
|
|
|
|
[tool.black]
|
|
line-length = 120
|
|
skip-magic-trailing-comma = true
|