From 378633e6fa9a67c74462c697e20a7799106f308c Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 20 Jun 2014 11:55:58 +0200 Subject: [PATCH] update packages script --- make_packages | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/make_packages b/make_packages index c2ffe4c..22e01a3 100755 --- a/make_packages +++ b/make_packages @@ -5,11 +5,11 @@ from lib.version import ELECTRUM_VERSION as version if __name__ == '__main__': import sys, re, shutil, os, hashlib - if not ( os.path.exists('aes') and os.path.exists('ecdsa') ): - print "aes and ecdsa are missing. copy them locally before." + if not ( os.path.exists('packages')): + print "The packages directory is missing." sys.exit() - os.system("python mki18n.py") + # os.system("python mki18n.py") os.system("pyrcc4 icons.qrc -o gui/qt/icons_rc.py") os.system("python setup.py sdist --format=zip,gztar") @@ -21,8 +21,7 @@ if __name__ == '__main__': os.system('rm -rf dist/e4a-%s'%version) os.mkdir('dist/e4a-%s'%version) shutil.copyfile("electrum",'dist/e4a-%s/e4a.py'%version) - shutil.copytree("ecdsa",'dist/e4a-%s/ecdsa'%version) - shutil.copytree("aes",'dist/e4a-%s/aes'%version) + shutil.copytree("packages",'dist/e4a-%s/packages'%version) shutil.copytree("lib",'dist/e4a-%s/lib'%version) os.mkdir('dist/e4a-%s/gui'%version) for n in ['android.py']: -- 1.7.1