From 7da2bf97d69e7f2af5da55cbc952b5a7ba9fdcf4 Mon Sep 17 00:00:00 2001 From: "Michiel W. Beijen" Date: Fri, 6 Dec 2024 20:54:41 +0100 Subject: [5.1.x] Fixed #35961 -- Migrated license metadata in pyproject.toml to conform PEP 639. See https://peps.python.org/pep-0639/ and https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files. Co-authored-by: Jacob Walls Backport of 96a7a652166bece8acc96d6335ebb8091de2f496 from main. --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 98ca8ff40a..c6ba5af7c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=75.8.1"] +requires = ["setuptools>=77.0.3"] build-backend = "setuptools.build_meta" [project] @@ -16,13 +16,13 @@ authors = [ ] description = "A high-level Python web framework that encourages rapid development and clean, pragmatic design." readme = "README.rst" -license = {text = "BSD-3-Clause"} +license = "BSD-3-Clause" +license-files = ["LICENSE", "LICENSE.python"] classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", - "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", -- cgit v1.3