ENH: also exclude files from bdist and bdist_wheel packages
Bug #1607057 reported by
Wes Turner
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:/
> python setup.py sdist
> pip wheel --no-index --no-deps --wheel-dir dist dist/*.tar.gz
To post a comment you must log in.
See also: "'exclude' packages option in files section of setup.cfg" https:/ /bugs.launchpad .net/pbr/ +bug/1589766