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:
parent
346c4248e4
commit
34cb09d9b2
@ -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 *
|
||||||
|
1
setup.py
1
setup.py
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user