summaryrefslogtreecommitdiff
path: root/dev-python/pyls/files/setup.py-exclude-all-test-modules.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyls/files/setup.py-exclude-all-test-modules.patch')
-rw-r--r--dev-python/pyls/files/setup.py-exclude-all-test-modules.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/pyls/files/setup.py-exclude-all-test-modules.patch b/dev-python/pyls/files/setup.py-exclude-all-test-modules.patch
new file mode 100644
index 0000000..709a0db
--- /dev/null
+++ b/dev-python/pyls/files/setup.py-exclude-all-test-modules.patch
@@ -0,0 +1,25 @@
+From 2f911df1a61205a551d23fb4637e79bd069f336b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <karel.koci@nic.cz>
+Date: Mon, 22 Oct 2018 12:59:15 +0200
+Subject: [PATCH] setup.py: exclude all test modules
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 432c461..e38c30a 100755
+--- a/setup.py
++++ b/setup.py
+@@ -25,7 +25,7 @@ setup(
+
+ # You can just specify the packages manually here if your project is
+ # simple. Or you can use find_packages().
+- packages=find_packages(exclude=['contrib', 'docs', 'test']),
++ packages=find_packages(exclude=['contrib', 'docs', 'test*']),
+
+ # List run-time dependencies here. These will be installed by pip when
+ # your project is installed. For an analysis of "install_requires" vs pip's
+--
+2.19.1
+