Commit d40245d
committed
Adjust pyproject.toml to force setuptools to emit valid metadata
When any of the glob patterns specified in the provisional field
"license-files" in the "tool.setuptools" section in pyproject.toml
matches a file in the package, Setuptools emits a License-File
metadata entry. However, Setuptools sets the Metadata-Version to 2.1.
With the implementation of PEP 639 and metadata version 2.4, this
combination is now invalid and is rejected by packaging, and thus by
PyPI.
Reset tools.setuptools.license-files to do not match any file. This
prevents invalid metadata to be generated.1 parent af9b12b commit d40245d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments