electrum

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

commit 0a80f84e2ee173c8c6c6262511c971135b81a41b
parent 39c2bc5b7a46ae3a22bd910b870d66628cb13049
Author: ThomasV <thomasv@gitorious>
Date:   Mon, 23 Feb 2015 08:15:35 +0100

don't use load_module in make_packages

Diffstat:
Mcontrib/make_packages | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/contrib/make_packages b/contrib/make_packages @@ -6,11 +6,11 @@ import getpass if __name__ == '__main__': - os.chdir(os.path.dirname(os.path.realpath(__file__))) - os.chdir('..') - - imp.load_module('electrum', *imp.find_module('../lib')) - from electrum.version import ELECTRUM_VERSION as version + d = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir)) + os.chdir(d) + v = imp.load_source('version', 'lib/version.py') + version = v.ELECTRUM_VERSION + print "version", version # copy dependencies into 'packages' directory deps = [