Skip to content

Commit 8ac24c8

Browse files
authored
fix: use old license text (scikit-hep#1050)
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("iminuit")` (see python/cpython#119650), 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. (This is not critical, but a minor annoyance I hit while debugging)
1 parent 8202577 commit 8ac24c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ version = "2.30.1"
99
maintainers = [{ name = "Hans Dembinski", email = "hans.dembinski@gmail.com" }]
1010
readme = "README.rst"
1111
requires-python = ">=3.9"
12-
license = { file = "LICENSE" }
12+
license = { text = "MIT+LGPL" }
1313
classifiers = [
1414
"Development Status :: 5 - Production/Stable",
1515
"Intended Audience :: Science/Research",

0 commit comments

Comments
 (0)