update packages script
authorThomasV <thomasv@gitorious>
Fri, 20 Jun 2014 09:55:58 +0000 (11:55 +0200)
committerThomasV <thomasv@gitorious>
Fri, 20 Jun 2014 09:55:58 +0000 (11:55 +0200)
make_packages

index c2ffe4c..22e01a3 100755 (executable)
@@ -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']: