From eb0f8a521d958efce2a8904ab38beec24be47798 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 9 Oct 2024 00:05:24 -0400 Subject: [PATCH] fix: use old license text Before moving to scikit-build-core, this was the contents of the `License` field. Putting the entire contents of the license file here breaks `importlib.metadata.metadata`, and isn't needed - the license file is stored in the wheel already, and the currently only canonical location for license metadata is the trove classifiers. PEP 639, which is currently provisionally accepted and waiting support in packaging, PyPI, etc, solves this by supporting SPDX license expressions. But that's not ready yet. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 775d848d..8f34b671 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ version = "2.30.1" maintainers = [{ name = "Hans Dembinski", email = "hans.dembinski@gmail.com" }] readme = "README.rst" requires-python = ">=3.9" -license = { file = "LICENSE" } +license = { text = "MIT+LGPL" } classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research",