PBR

ENH: also exclude files from bdist and bdist_wheel packages

Bug #1607057 reported by Wes Turner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PBR
Incomplete
Undecided
Unassigned

Bug Description

A prune option similar might also be helpful?

#.gitignore
.ropeproject
.ropeproject/)

$ python setup.py sdist | grep .ropeproject
# excluded from sdist

$ python setup.py bdist bdist_wheel | grep .ropeproject
# included in sdist

One workaround suggested for building wheels is to build from the sdist source:
https://bitbucket.org/pypa/wheel/issues/99/cannot-exclude-directory#comment-9030907

> python setup.py sdist
> pip wheel --no-index --no-deps --wheel-dir dist dist/*.tar.gz

Revision history for this message
Wes Turner (wes-turner) wrote :

See also: "'exclude' packages option in files section of setup.cfg" https://bugs.launchpad.net/pbr/+bug/1589766

Revision history for this message
Ben Nemec (bnemec) wrote :

This seems like a duplicate of https://bugs.launchpad.net/pbr/+bug/1589766 Is there any reason to keep both open?

Changed in pbr:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.