summaryrefslogtreecommitdiff
path: root/dev-python/pyls/files/setup.py-exclude-all-test-modules.patch
blob: 709a0db13ecd6f7c0d18363e9f1d798f6cef98c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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