Closed nbraud closed 3 weeks ago
Oh, this means we can probably remove all remaining explicit references to setup.cfg, nice!
As @AstraLuma mentions in #349:
bork zipapps require that a project table appears in pyproject.toml. Poetry-based projects use tool.poetry instead.
So an example project using Poetry would provide a good testcase for this functionality.
bork build
fails ifpyproject.toml
doesn't containproject.name
.While PEP 621 guarantees that
name
is (statically) defined if theproject
table exists, it also specifiesIn that case,
bork
should call{build-backend}.prepare_metadata_for_build_wheel
and extract the metadata from the.dist-info
directory that was populated.