From 2065c1662d6a3b7608d6dc51cdf37a20d699bd44 Mon Sep 17 00:00:00 2001 From: James Douglass Date: Fri, 27 Feb 2026 12:32:28 -0800 Subject: [PATCH 1/2] Correcting classifier usage. RE:#466 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6003ba36..15ccb679 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,8 @@ name = "pygeoprocessing" description = "PyGeoprocessing: Geoprocessing routines for GIS" requires-python = ">=3.6" -license = {file = "LICENSE.txt"} +license = "BSD-3-Clause" +license-files = ["LICENSE.txt"] maintainers = [ {name = "Natural Capital Alliance Software Team"} ] @@ -22,7 +23,6 @@ classifiers = [ 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: Implementation :: CPython', 'Topic :: Scientific/Engineering :: GIS', - 'License :: OSI Approved :: BSD License' ] # the version is provided dynamically by setuptools_scm # `dependencies` and `optional-dependencies` are provided by setuptools From fd20a4f84fc752cc220e9d05e2fc3a0f77bc643a Mon Sep 17 00:00:00 2001 From: James Douglass Date: Fri, 27 Feb 2026 12:36:21 -0800 Subject: [PATCH 2/2] Noting change in HISTORY. RE:#466 --- HISTORY.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/HISTORY.rst b/HISTORY.rst index dd70a57e..31bd8bc9 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -7,6 +7,9 @@ Unreleased Changes References to the old name and website domain have been updated to reflect this change. https://github.com/natcap/pygeoprocessing/issues/458 +* Updating pyproject.toml to use the standard ``license-files`` key and + replacing the license-related Trove classifier with the approved SPDX string. + https://github.com/natcap/pygeoprocessing/issues/466 2.4.10 (2026-01-13) -------------------