From 0a3ccf1094fd2fd2268a4396c5c9a21543dd7b07 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 19 Apr 2025 21:36:55 +0200 Subject: [PATCH] pyproject.toml: SPDX expression for license, add license-files, see #8771 Also: raise setuptools version requirement appropriately. --- pyproject.toml | 6 +++--- requirements.d/development.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0c0e0f5f7..76f770a18 100644 --- a/pyproject.toml +++ b/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] diff --git a/requirements.d/development.txt b/requirements.d/development.txt index a6008d6fe..bd25383a0 100644 --- a/requirements.d/development.txt +++ b/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