From c31aeb19be1b0a09ace8b03727385041d610188f Mon Sep 17 00:00:00 2001 From: Robie Basak Date: Thu, 1 Sep 2011 10:27:39 +0100 Subject: [PATCH] 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 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0dc6caf36..c3a4e4948 100644 --- a/setup.py +++ b/setup.py @@ -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',