Skip to content

Add WheelDistInfo configuration option - #312

Merged
chrisnovakovic merged 1 commit into
please-build:masterfrom
chrisnovakovic:dist-info-option
Jul 23, 2026
Merged

Add WheelDistInfo configuration option#312
chrisnovakovic merged 1 commit into
please-build:masterfrom
chrisnovakovic:dist-info-option

Conversation

@chrisnovakovic

Copy link
Copy Markdown
Contributor

An increasing number of Python modules implicitly depend on the presence of distribution metadata (e.g. to ensure their dependencies are correctly installed). .dist-info directories can be added manually to python_wheel's outs when required, although it is cumbersome to do so - besides, there really isn't any advantage to omitting .dist-info directories.

When the WheelDistInfo plugin configuration option is enabled, python_wheel outputs the module's .dist-info directory. The option is disabled by default for now while we test it more thoroughly.

An increasing number of Python modules implicitly depend on the presence
of distribution metadata (e.g. to ensure their dependencies are
correctly installed). `.dist-info` directories can be added manually to
`python_wheel`'s `outs` when required, although it is cumbersome to do
so - besides, there really isn't any advantage to omitting `.dist-info`
directories.

When the `WheelDistInfo` plugin configuration option is enabled,
`python_wheel` outputs the module's `.dist-info` directory. The option
is disabled by default for now while we test it more thoroughly.
@chrisnovakovic
chrisnovakovic merged commit a18ff0d into please-build:master Jul 23, 2026
157 of 158 checks passed
@chrisnovakovic
chrisnovakovic deleted the dist-info-option branch July 23, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants