From a97b5cce2313665bcc51d45b8d3d6d501557ce8a Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sun, 17 Nov 2024 19:47:03 +0100 Subject: [PATCH 1/2] Use SPDX license expression --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4bc02d5..c7d4063 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "PyHamcrest" description = "Hamcrest framework for matcher objects" readme = "README.rst" requires-python = ">= 3.8" -license = { file = "LICENSE.txt" } +license = "BSD-3-Clause" keywords = [ "hamcrest", "matchers", @@ -27,7 +27,6 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", - "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", From f963a928f846e78991dbed111a076e4d172ba42a Mon Sep 17 00:00:00 2001 From: Chris Rose Date: Sat, 30 Nov 2024 09:33:07 -0600 Subject: [PATCH 2/2] Include the license file too --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index c7d4063..7d46e84 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,6 +8,7 @@ description = "Hamcrest framework for matcher objects" readme = "README.rst" requires-python = ">= 3.8" license = "BSD-3-Clause" +license-files = ["LICENSE.txt"] keywords = [ "hamcrest", "matchers",