openwrt-packages/lang/python/python-hyperlink/patches/001-omit-tests.patch

14 lines
385 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -24,8 +24,9 @@ setup(name='hyperlink',
author=__author__,
author_email=__contact__,
url=__url__,
- packages=['hyperlink', 'hyperlink.test'],
+ packages=['hyperlink'],
include_package_data=True,
+ exclude_package_data={'':['test/*']},
zip_safe=False,
license=__license__,
platforms='any',