Browse Source

Merge pull request #4070 from marceloneil/fix-setuptools-requirements

Prevent requirements.txt from being installed to /usr after installation
3.2.x
ThomasV 7 years ago
committed by GitHub
parent
commit
865ab43145
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      MANIFEST.in
  2. 2
      setup.py

2
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

2
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()

Loading…
Cancel
Save