mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-03 13:45:31 +00:00
require/configure setuptools_scm via pyproject.toml
This commit is contained in:
parent
269b948284
commit
9642ace953
3 changed files with 5 additions and 7 deletions
|
@ -1,3 +1,6 @@
|
|||
[build-system]
|
||||
requires = ["setuptools", "pkgconfig", "Cython!=0.27"]
|
||||
requires = ["setuptools", "pkgconfig", "Cython!=0.27", "setuptools_scm[toml]>=6.2"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools_scm]
|
||||
write_to = "src/borg/_version.py"
|
||||
|
|
|
@ -35,8 +35,6 @@ packages = find:
|
|||
package_dir =
|
||||
=src
|
||||
python_requires = >=3.9
|
||||
setup_requires =
|
||||
setuptools_scm>=1.7
|
||||
install_requires =
|
||||
msgpack >=1.0.3, <=1.0.3
|
||||
packaging
|
||||
|
|
3
setup.py
3
setup.py
|
@ -234,9 +234,6 @@ def lib_ext_kwargs(pc, prefix_env_var, lib_name, lib_pkg_name, pc_version, lib_s
|
|||
|
||||
|
||||
setup(
|
||||
use_scm_version={
|
||||
'write_to': 'src/borg/_version.py',
|
||||
},
|
||||
cmdclass=cmdclass,
|
||||
ext_modules=ext_modules,
|
||||
long_description=setup_docs.long_desc_from_readme()
|
||||
|
|
Loading…
Reference in a new issue