Fix test installation exclude

With exclude=['tests'], tests.v1_0 and tests.v1_1 do not get excluded,
causing "python setup.py install" to pollute dist-packages with "tests"
rather than going under novaclient/

exclude=['tests', 'tests.*'] fixes this.

LP: #838298
Also see LP: #825127 comment #3
This commit is contained in:
Robie Basak 2011-09-01 10:27:39 +01:00
parent 597ef2f5b6
commit c31aeb19be
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ setup(
license = 'Apache',
author = 'Rackspace, based on work by Jacob Kaplan-Moss',
author_email = 'github@racklabs.com',
packages = find_packages(exclude=['tests']),
packages = find_packages(exclude=['tests', 'tests.*']),
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',