From 2994a60160be3b829e053235046392fffb09f92d Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sun, 16 Feb 2025 03:12:02 +0000 Subject: [PATCH 1/2] Use PEP 639 licence metadata --- pyproject.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4b11846cb89..d8d6df506c7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["flit_core>=3.7"] +requires = ["flit_core @ git+https://github.com/pypa/flit.git#subdirectory=flit_core"] build-backend = "flit_core.buildapi" # project metadata @@ -13,7 +13,10 @@ urls.Documentation = "https://www.sphinx-doc.org/" urls.Download = "https://pypi.org/project/Sphinx/" urls.Homepage = "https://www.sphinx-doc.org/" urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx/issues" -license.text = "BSD-2-Clause" +license = "BSD-2-Clause" +license-files = [ + "LICENSE.rst", +] requires-python = ">=3.11" # Classifiers list: https://pypi.org/classifiers/ @@ -28,7 +31,6 @@ classifiers = [ "Intended Audience :: Other Audience", "Intended Audience :: Science/Research", "Intended Audience :: System Administrators", - "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", From 3dd0f8fff931b57f68aa87d7344e9c448b8616d2 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Thu, 20 Feb 2025 02:52:04 +0000 Subject: [PATCH 2/2] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d8d6df506c7..6bad0127d33 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["flit_core @ git+https://github.com/pypa/flit.git#subdirectory=flit_core"] +requires = ["flit_core>=3.11"] build-backend = "flit_core.buildapi" # project metadata