mirror of
https://github.com/nextcloud/news-updater.git
synced 2025-12-23 22:07:41 -05:00
Exclude tests from being installed
setup.py: Add the `exclude` parameter to `find_packages()` to exclude the `tests/` directory and its subdirectories. The `tests/` directory would otherwise be installed top-level to site-packages and conflict with other packages with the same defect. Fixes #30 Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
4
setup.py
4
setup.py
@@ -21,7 +21,9 @@ setup(
|
||||
author='Bernhard Posselt',
|
||||
author_email='dev@bernhard-posselt.com',
|
||||
url='https://github.com/nextcloud/news-updater',
|
||||
packages=find_packages(),
|
||||
packages=find_packages(
|
||||
exclude=['tests', 'tests.*'],
|
||||
),
|
||||
include_package_data=True,
|
||||
license='GPL',
|
||||
keywords=['nextcloud', 'news', 'updater', 'RSS', 'Atom', 'feed', 'reader'],
|
||||
|
||||
Reference in New Issue
Block a user