electrum

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

commit 5a564008d18616cf640a49be3f181cdff18baacd
parent 34a6cc5deebfbd06ae375ff31116f609f15190c0
Author: thomasv <thomasv@gitorious>
Date:   Tue,  6 Nov 2012 09:01:30 +0100

add headers file only if it is found

Diffstat:
Msetup.py | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py @@ -25,7 +25,7 @@ if (len(sys.argv) > 1 and (sys.argv[1] == "sdist")) or (platform.system() != 'Wi data_files.append( ('/usr/share/locale/%s/LC_MESSAGES'%lang, ['locale/%s/LC_MESSAGES/electrum.mo'%lang]) ) data_files += [ - (util.appdata_dir(), ["data/README", "data/blockchain_headers"]), + (util.appdata_dir(), ["data/README"]), (os.path.join(util.appdata_dir(), "cleanlook"), [ "data/cleanlook/name.cfg", "data/cleanlook/style.css" @@ -37,6 +37,9 @@ data_files += [ ]) ] +if os.path.exists("data/blockchain_headers"): + data_files.append( (util.appdata_dir(), ["data/blockchain_headers"]) ) + setup(name = "Electrum", version = version.ELECTRUM_VERSION, install_requires = ['slowaes','ecdsa'],