URI: 
       tadd script to copy dependencies in make_packages - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 7dbb182a2e950c10de89c21ca59ff01ae316f762
   DIR parent 7daccf143f0a337043fae604e0d63499cf4b2cf5
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Sat, 21 Feb 2015 11:43:53 +0100
       
       add script to copy dependencies in make_packages
       
       Diffstat:
         M contrib/make_packages               |      29 ++++++++++++++++++++++++++---
       
       1 file changed, 26 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/contrib/make_packages b/contrib/make_packages
       t@@ -12,9 +12,32 @@ if __name__ == '__main__':
            imp.load_module('electrum', *imp.find_module('../lib'))
            from electrum.version import ELECTRUM_VERSION as version
        
       -    if not ( os.path.exists('packages')):
       -        print "The packages directory is missing."
       -        sys.exit()
       +    # copy dependencies into 'packages' directory
       +    deps = [
       +        'aes',
       +        'ecdsa',
       +        'pbkdf2',
       +        'requests',
       +        'pyasn1',
       +        'pyasn1_modules',
       +        'qrcode',
       +        'socks',
       +        'google/protobuf',
       +        'tlslite',
       +        'dns',
       +        'six',
       +    ]
       +    for module in deps:
       +        f, pathname, descr = imp.find_module(module)
       +        target = 'packages/' + module + descr[0]
       +        if os.path.exists(target):
       +            continue
       +        d = os.path.dirname(target)
       +        if d and not (os.path.exists(d)):
       +            os.makedirs(d)
       +        command = "cp -r %s %s"%(pathname, target)
       +        print command
       +        os.system(command)
        
            # os.system("python mki18n.py")
            os.system("pyrcc4 icons.qrc -o gui/qt/icons_rc.py")