PBR

Comment 3 for bug 1589766

Revision history for this message
Yusuke Iwase (iwase-yusuke0) wrote :

Thank you for your reply!

But, I want to exclude the test files when executing 'python setup.py install'
or 'pip install .' command.

The documents you pointed explain the procedures when creating a source
distribution package, I think.

And, as you said, by using 'setuptools.find_packages' in setup.py without pbr,
I could exclude the test files, but I couldn't with pbr enabled.

The following seems to find packages to install and does not provide 'exclude'
options.
 http://git.openstack.org/cgit/openstack-dev/pbr/tree/pbr/find_package.py#n21