2022-02-25 03:29:01 +00:00
|
|
|
[build-system]
|
2022-04-07 17:12:19 +00:00
|
|
|
requires = ["setuptools", "pkgconfig", "Cython", "setuptools_scm[toml]>=6.2"]
|
2022-02-25 03:29:01 +00:00
|
|
|
build-backend = "setuptools.build_meta"
|
2022-04-07 17:11:15 +00:00
|
|
|
|
|
|
|
[tool.setuptools_scm]
|
2022-07-18 16:56:59 +00:00
|
|
|
# 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
|
2022-04-07 17:11:15 +00:00
|
|
|
write_to = "src/borg/_version.py"
|
2022-08-04 08:27:58 +00:00
|
|
|
write_to_template = "__version__ = version = {version!r}\n__version_tuple__ = version_tuple = {version_tuple!r}\n"
|
2022-03-02 03:19:33 +00:00
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
line-length = 120
|
|
|
|
skip-magic-trailing-comma = true
|