Skip to content

Commit ca1b69c

Browse files
PEP 639 license information
Declare licenses using these two fields, as per PEP 639: * license: SPDX license expression * license-files: list of license file glob patterns The build system maturin ≥ 1.9 supports PEP 639, which means the proper licensing metadata should be included in packages and seen by PyPI: https://www.maturin.rs/changelog.html For tools such as pip-licenses that do not understand PEP 639 yet, keep the redundant classifier until they catch up.
1 parent 32c454b commit ca1b69c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ description = "An extremely fast Python linter and code formatter, written in Ru
99
authors = [{ name = "Astral Software Inc.", email = "[email protected]" }]
1010
readme = "README.md"
1111
requires-python = ">=3.7"
12-
license = { file = "LICENSE" }
12+
license = "MIT"
13+
license-files = ["LICENSE"]
1314
keywords = [
1415
"automation",
1516
"flake8",

0 commit comments

Comments
 (0)