electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 466d1e0f402d9d5580111a0a18608f449567389c
parent dd78f0978bf5a1a1759e2c08329cadd8e4e02ec4
Author: Maran <maran.hidskes@gmail.com>
Date:   Sun, 26 Aug 2012 21:30:25 +0200

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

Diffstat:
Msetup.py | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/setup.py b/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'])