electrum

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

commit 8687c632263115d3868894a6c0d712856d77ac93
parent 3a82b3be6cdb13e02a7341bc5a7bc52ba3f46e7e
Author: ThomasV <thomasv@gitorious>
Date:   Wed, 16 Nov 2011 13:53:18 +0300

nd

Diffstat:
Asetup.py | 34++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+), 0 deletions(-)

diff --git a/setup.py b/setup.py @@ -0,0 +1,34 @@ +#!/usr/bin/python + +#python mysetup.py sdist --format=zip,gztar + + +from distutils.core import setup + +version = "0.25" + +setup(name = "Electrum", + version = version, + description = "Lightweight Bitcoin Wallet", + author = "thomasv", + license = "GNU GPLv3", + url = "http://ecdsa/electrum", + long_description = """Lightweight Bitcoin Wallet""" +) + +if __name__ == '__main__': + import sys, re, shutil + if sys.argv[1]=='sdist': + _tgz="Electrum-%s.tar.gz"%version + _zip="Electrum-%s.zip"%version + shutil.copyfile("dist/"+_tgz ,'/var/www/electrum/'+_tgz) + shutil.copyfile("dist/"+_zip,'/var/www/electrum/'+_zip) + f = open("/var/www/electrum/index.html") + s = f.read() + f.close() + s = re.sub("Electrum-([\d\.]*?)\.tar\.gz", _tgz, s) + s = re.sub("Electrum-([\d\.]*?)\.zip", _zip, s) + f = open("/var/www/electrum/index.html","w") + f.write(s) + f.close() +