| |
@@ -43,7 +43,7 @@
|
| |
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,
|
| |
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.