Browse Source

update packages script

283
ThomasV 11 years ago
parent
commit
378633e6fa
  1. 9
      make_packages

9
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']:

Loading…
Cancel
Save