packages/lang/python/python-hyperlink/patches/001-omit-tests.patch
Jeffery To 9277f74abd
python-hyperlink: Update to 20.0.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-17 01:56:47 +08:00

11 lines
343 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@ setup(
author=__author__,
author_email=__contact__,
url=__url__,
- packages=find_packages(where="src"),
+ packages=find_packages(where="src", exclude=["*.test", "*.test.*"]),
package_dir={"": "src"},
package_data=dict(hyperlink=["py.typed"]),
zip_safe=False,