diff --git a/news/in-1-8-spdx-license.rst b/news/in-1-8-spdx-license.rst new file mode 100644 index 0000000..95ec609 --- /dev/null +++ b/news/in-1-8-spdx-license.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* License deprecation warning when building the package, by using the SPDX expression ``BSD-3-Clause`` instead of the license classifier. + +**Security:** + +* diff --git a/pyproject.toml b/pyproject.toml index ffb6861..70d7d7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=62.0", "setuptools-git-versioning>=2.0"] +requires = ["setuptools>=77.0", "setuptools-git-versioning>=2.0"] build-backend = "setuptools.build_meta" [project] @@ -17,12 +17,13 @@ description = "Screen protein diffraction images for well diffracting samples" keywords = ['diffraction', 'protein crystallography', 'x-ray', 'ice ring'] readme = "README.rst" requires-python = ">=3.12, <3.15" +license = "BSD-3-Clause" +license-files = ["LICENSE.rst"] classifiers = [ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', - 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX',