packages/lang/python/python-twisted/patches/002-omit-tests.patch
Jeffery To 4b6e05d1fd
python-twisted: Update to 21.2.0, redo patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-06-12 06:18:50 +08:00

20 lines
291 B
Diff

--- a/setup.cfg
+++ b/setup.cfg
@@ -90,6 +90,9 @@ osx_platform =
[options.packages.find]
where = src
+exclude =
+ *.test
+ *.test.*
[options.entry_points]
console_scripts =
@@ -109,6 +112,7 @@ console_scripts =
*.pxi
*.pyx
build.bat
+ test/*
[flake8]
disable-noqa = True