From 43a7f437765073d521ddbd789b863795da02980e Mon Sep 17 00:00:00 2001 From: Erik Cederstrand Date: Mon, 27 Apr 2026 14:33:43 +0200 Subject: [PATCH 1/2] Specify BSD-3.0 license and add license files Fixes license specifiers according to https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files This allows automatic license inspection tools like pip-licenses to correctly categorize this package. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3b29282..12c0fbd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,8 @@ keywords = [ "matplotlib", "python", ] -license = {file = "LICENSE"} +license = "BSD-3.0" +license-files = ["LICENSE"] readme = "README.md" requires-python = ">=3.9" From 98f9eb6f3b767b8e5e5737ffad933b88b16d6339 Mon Sep 17 00:00:00 2001 From: Erik Cederstrand Date: Mon, 27 Apr 2026 14:36:54 +0200 Subject: [PATCH 2/2] Use valid SPDX ID --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 12c0fbd..af44c37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ keywords = [ "matplotlib", "python", ] -license = "BSD-3.0" +license = "BSD-3-Clause" license-files = ["LICENSE"] readme = "README.md" requires-python = ">=3.9"