summarylogtreecommitdiffstats
path: root/0001-setup.py-exclude-tests-from-installation.patch
blob: 2fee7f20f1fba8af8a73941e72c8af79ebfb0888 (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
26
27
From ab15c6d7af0fa8bcb7da4e7932455bf36ad8e810 Mon Sep 17 00:00:00 2001
From: redfish <redfish@galactica.pw>
Date: Sat, 13 Apr 2019 12:52:14 -0400
Subject: [PATCH] setup.py: exclude tests from installation

Otherwise 'tests' package ends up in site-packages/tests,
which is no good.
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 9c8b83c..25fffb2 100755
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@ setup(
     author='Eder Santana',
     keywords='merkle tree, blockchain, tierion',
     license="MIT",
-    packages=find_packages(),
+    packages=find_packages(exclude=['tests']),
     include_package_data=False,
     zip_safe=False,
     install_requires=install_requires
-- 
2.21.0