Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent errors in editable install when plugins include .egg_info/SOURCES.txt #3503

Merged
merged 3 commits into from
Aug 11, 2022

Conversation

abravalheri
Copy link
Contributor

In #3500, it seems that pbr is automatically trying to add .egg_info/SOURCES.txt into the default list of data files.
However editable_wheel uses a .egg_info directory that is external to the project root, which may cause errors with the pbr approach.

Summary of changes

  • Filter external .egg-info files when analysing manifest in build_py.

Closes #3500

Pull Request Checklist

@abravalheri abravalheri marked this pull request as ready for review August 11, 2022 21:11
@abravalheri abravalheri merged commit 3126b0a into pypa:main Aug 11, 2022
@abravalheri abravalheri deleted the issue-3500 branch August 11, 2022 22:55
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.

[BUG] setup.cfg + pyproject.toml + setup.py (with PBR) breaking.
1 participant