Skip to content

Specify packages using include rather than exclude#260

Open
cjwatson wants to merge 1 commit into
bbangert:masterfrom
cjwatson:setuptools-include
Open

Specify packages using include rather than exclude#260
cjwatson wants to merge 1 commit into
bbangert:masterfrom
cjwatson:setuptools-include

Conversation

@cjwatson

@cjwatson cjwatson commented Jun 3, 2026

Copy link
Copy Markdown

This avoids possible duplication if a wheel is built more than once from the same directory.

I ran into this when upgrading Debian's packaging of beaker; we're currently in a transitional period where we're building for both Python 3.13 and 3.14, and this resulted in the second of the two wheels having a stray build directory. Using include rather than exclude avoids this, and seems to be simpler anyway.

This avoids possible duplication if a wheel is built more than once from
the same directory.
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.

1 participant