From e800a5331774455ffd270b912656b4d91650c643 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Jan 22 2019 07:30:12 +0000 Subject: Filter out the 'tests.*' submodules in find_packages in setup.py. Since we have added multiple directories in the ./tests, the old find_packages exclude stopped working, because it did not filter out all the tests.* sub-modules, but just the main "test" module. This commit extends the old code to filter out also the sub-modules. --- diff --git a/setup.py b/setup.py index a4ea14e..33aedbe 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ setup(name='freshmaker', author_email='freshmaker-owner@fedoraproject.org', url='https://pagure.io/freshmaker/', license='MIT', - packages=find_packages(exclude=['tests']), + packages=find_packages(exclude=['tests', 'tests.*']), include_package_data=True, zip_safe=False, install_requires=install_requires,