浏览代码

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

Also: raise setuptools version requirement appropriately.
Thomas Waldmann 1 月之前
父节点
当前提交
0a3ccf1094
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 3 3
      pyproject.toml
  2. 1 1
      requirements.d/development.txt

+ 3 - 3
pyproject.toml

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

+ 1 - 1
requirements.d/development.txt

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