aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-scikit-opt/do-not-install-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-scikit-opt/do-not-install-tests.patch')
-rw-r--r--community/py3-scikit-opt/do-not-install-tests.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/py3-scikit-opt/do-not-install-tests.patch b/community/py3-scikit-opt/do-not-install-tests.patch
new file mode 100644
index 00000000000..053b3a8c8e5
--- /dev/null
+++ b/community/py3-scikit-opt/do-not-install-tests.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -28,7 +28,7 @@
+ author='Guo Fei',
+ author_email='guofei9987@foxmail.com',
+ license='MIT',
+- packages=find_packages(),
++ packages=find_packages(exclude=("*tests.*", "*tests")),
+ platforms=['linux', 'windows', 'macos'],
+ install_requires=['numpy', 'scipy'],
+ zip_safe=False)