tMerge pull request #4070 from marceloneil/fix-setuptools-requirements - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 865ab43145382aaa081640ac86a32d65dce989e6 (DIR) parent 2deae196d92b8ce8097812fd5381c61416499cae (HTM) 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: M MANIFEST.in | 2 ++ M setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) --- (DIR) diff --git a/MANIFEST.in b/MANIFEST.in t@@ -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 (DIR) diff --git a/setup.py b/setup.py t@@ -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()