Skip to content

Commit

Permalink
fix: use old license text (#1050)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
henryiii authored Oct 10, 2024
1 parent 8202577 commit 8ac24c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version = "2.30.1"
maintainers = [{ name = "Hans Dembinski", email = "[email protected]" }]
readme = "README.rst"
requires-python = ">=3.9"
license = { file = "LICENSE" }
license = { text = "MIT+LGPL" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
Expand Down

0 comments on commit 8ac24c8

Please sign in to comment.