Browse Source

build: allow zip files to be created larger than 2GB

Samuel Attard 6 years ago
parent
commit
30448bb1b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/zip.py

+ 1 - 1
build/zip.py

@@ -52,7 +52,7 @@ def main(argv):
   if sys.platform == 'darwin':
     execute(['zip', '-r', '-y', dist_zip] + list(dist_files))
   else:
-    with zipfile.ZipFile(dist_zip, 'w', zipfile.ZIP_DEFLATED) as z:
+    with zipfile.ZipFile(dist_zip, 'w', zipfile.ZIP_DEFLATED, True) as z:
       for dep in dist_files:
         if skip_path(dep, dist_zip, target_cpu):
           continue