The initial draft of PEP 639 specified that license files should be written directly to the .dist-info folder. This was changed in later iterations. The files should now be written to .dist-info/licenses and the root folder structure should be recreated to avoid name conflicts.
Summary of changes
The initial draft of PEP 639 specified that license files should be written directly to the
.dist-info
folder. This was changed in later iterations. The files should now be written to.dist-info/licenses
and the root folder structure should be recreated to avoid name conflicts.Additional changes to be spec compliant:
license_files
specifier, e.g.**/LICENSE
.License-File
path delimiter.Closes #3596 Refs #4629