commit 865ab43145382aaa081640ac86a32d65dce989e6
parent 2deae196d92b8ce8097812fd5381c61416499cae
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 8 Mar 2018 11:01:25 +0100
Merge pull request #4070 from marceloneil/fix-setuptools-requirements
Prevent requirements.txt from being installed to /usr after installation
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/MANIFEST.in b/MANIFEST.in
@@ -4,6 +4,8 @@ include electrum.conf.sample
include electrum.desktop
include *.py
include electrum
+include contrib/requirements/requirements.txt
+include contrib/requirements/requirements-hw.txt
recursive-include lib *.py
recursive-include gui *.py
recursive-include plugins *.py
diff --git a/setup.py b/setup.py
@@ -20,7 +20,7 @@ version = imp.load_source('version', 'lib/version.py')
if sys.version_info[:3] < (3, 4, 0):
sys.exit("Error: Electrum requires Python version >= 3.4.0...")
-data_files = ['contrib/requirements/' + r for r in ['requirements.txt', 'requirements-hw.txt']]
+data_files = []
if platform.system() in ['Linux', 'FreeBSD', 'DragonFly']:
parser = argparse.ArgumentParser()