Help testing experimental features in setuptools

Thank you all again for the feedback.

I have updated the implementation in the experimental branch to reflect the discussion about license and license_files.

After the discussion, my conclusion is that tool.setuptools.dynamic.{license,license-files} are no longer necessary (since backfilling License-file as non-standard core metadata is completely independent of adding license to project.dynamic).

The updated implementation will expand project.license.file “in place” (i.e. add the file contents to the License core metadata). It will also accept provisionally tool.setuptools.license-files (until PEP 639 is approved)[1].

Both validate-pyproject and ini2toml were updated accordingly.

People that were using the pyproject.toml generated by the previous version ini2toml might find some errors with tool.setuptools.dynamic and need to update (or regenerate the file with the latest version of ini2toml), to reflect the changes discussed above.


  1. For now tool.setuptools.license-files is a simple list of glob patterns. Once we implement project.license-files it will accept the same kind of value as described in the final version of the PEP. ↩︎