pyproject.toml: SPDX expression for license, add license-files, see #8771

Also: raise setuptools version requirement appropriately.
This commit is contained in:
Thomas Waldmann 2025-04-19 21:36:55 +02:00
parent a34f4a1dae
commit 0a3ccf1094
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01
2 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,6 @@ classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX :: BSD :: FreeBSD",
"Operating System :: POSIX :: BSD :: OpenBSD",
"Operating System :: POSIX :: BSD :: NetBSD",
@ -28,7 +27,8 @@ classifiers = [
"Topic :: Security :: Cryptography",
"Topic :: System :: Archiving :: Backup",
]
license = {text="BSD"}
license = "BSD-3-Clause"
license-files = ["LICENSE", "AUTHORS"]
dependencies = [
"borghash ~= 0.1.0",
"borgstore ~= 0.1.0",
@ -68,7 +68,7 @@ where = ["src"]
"*" = ["*.c", "*.h", "*.pyx"]
[build-system]
requires = ["setuptools", "wheel", "pkgconfig", "Cython>=3.0.3", "setuptools_scm[toml]>=6.2"]
requires = ["setuptools>=77.0.0", "wheel", "pkgconfig", "Cython>=3.0.3", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]

View file

@ -1,4 +1,4 @@
setuptools >=45, !=60.6.0, !=60.7.0
setuptools >=77.0.0
setuptools_scm
pip !=24.2
wheel