Exclude tests when installing ceilometer

Dont include the tests directory when installing
ceilometer as they might conflict with other
poorly installed packages on the users systems.

Fixes LP: #1102110

Signed-off-by Chuck Short <chuck.short@canonical.com>

Change-Id: Ia8b0477af72b30dcf54b4751a51bbb460a7a90f4
This commit is contained in:
Chuck Short 2013-03-04 09:33:33 -06:00
parent 346c4248e4
commit 34cb09d9b2
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ include ChangeLog
include ceilometer/storage/sqlalchemy/migrate_repo/migrate.cfg include ceilometer/storage/sqlalchemy/migrate_repo/migrate.cfg
exclude .gitignore exclude .gitignore
exclude .gitreview exclude .gitreview
recursive-include tests *.py graft tests
recursive-include nova_tests *.py recursive-include nova_tests *.py
global-exclude *.pyc global-exclude *.pyc
recursive-include public * recursive-include public *

View File

@ -70,6 +70,7 @@ setuptools.setup(
directories("ceilometer/api/static") directories("ceilometer/api/static")
+ directories("ceilometer/api/templates"), + directories("ceilometer/api/templates"),
}, },
exclude_package_data={'': ['tests/*']},
include_package_data=True, include_package_data=True,
test_suite='nose.collector', test_suite='nose.collector',