Browse Source

If we are doing a sdist just include everything since we don't know the target os

283
Maran 13 years ago
parent
commit
466d1e0f40
  1. 5
      setup.py

5
setup.py

@ -7,13 +7,12 @@ from lib.version import ELECTRUM_VERSION as version
import lib.util as util
import os, sys, platform
from lib.util import print_error
if sys.version_info[:3] < (2,6,0):
sys.exit("Error: Electrum requires Python version >= 2.6.0...")
data_files = []
if platform.system() != 'Windows' and platform.system() != 'Darwin':
if (len(sys.argv) > 1 and (sys.argv[1] == "sdist")) or (platform.system() != 'Windows' and platform.system() != 'Darwin'):
print "Including all files"
data_files += [
('/usr/share/applications/',['electrum.desktop']),
('/usr/share/app-install/icons/',['electrum.png'])

Loading…
Cancel
Save