PBR

include_package_data set to True by default

Bug #1947353 reported by Philippe P.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PBR
New
Undecided
Unassigned

Bug Description

All the files present in git were include in the package.

To reproduce:

$ git init
$ mkdir foo
$ touch foo/test.txt
$ touch foo/__init__.py

$ cat setup.py
from setuptools import setup
setup(
    setup_requires=['pbr'],
    pbr=True)

$ cat setup.cfg
[metadata]
name = foo

[files]
packages =
    foo

$ python setup.py bdist_wheel # foo/test.txt not include
$ git add foo/test.txt
$ python setup.py bdist_wheel # foo/test.txt include

But, I don't want to include all the files in my wheel.

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.