From 22adcae07584773a100bf304162113a9326a3866 Mon Sep 17 00:00:00 2001 From: drebs Date: Thu, 19 Mar 2015 10:32:34 -0300 Subject: [fix] exclude all tests from package Previous to this modification, leap.soledad.common.tests.u1db_tests was being installed and its files were being included in the debian package. By excluding *.tests and *.tests.* from find_packages() in setup.py, we make sure that no test file will be installed not included in the final debian package. --- common/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/setup.py b/common/setup.py index b0ab8352..f4d8bc65 100644 --- a/common/setup.py +++ b/common/setup.py @@ -270,7 +270,7 @@ setup( ), classifiers=trove_classifiers, namespace_packages=["leap", "leap.soledad"], - packages=find_packages('src', exclude=['leap.soledad.common.tests']), + packages=find_packages('src', exclude=['*.tests', '*.tests.*']), package_dir={'': 'src'}, test_suite='leap.soledad.common.tests', install_requires=utils.parse_requirements(), -- cgit v1.2.3