URI: 
       tmake_packages: ignore pyc - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit ce5808e894d30fd56f30bcf64175097d5c4ccce7
   DIR parent b29038073dba9bc6d742bf02f600ce5e7b71c90c
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Wed, 25 Feb 2015 06:03:59 +0100
       
       make_packages: ignore pyc
       
       Diffstat:
         M contrib/make_packages               |       7 ++++---
       
       1 file changed, 4 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/contrib/make_packages b/contrib/make_packages
       t@@ -37,9 +37,10 @@ if __name__ == '__main__':
                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)
       +        if descr[0]:
       +            shutil.copy(pathname, target)
       +        else:
       +            shutil.copytree(pathname, target, ignore=shutil.ignore_patterns('*.pyc'))
        
            # fix google/__init__.py needed by pyinstaller
            n = 'packages/google/__init__.py'