From 9c994692a6499d7343bda2dd8139c259d9a524b2 Mon Sep 17 00:00:00 2001 From: Becky Reamy Date: Wed, 8 Aug 2018 19:01:22 -0400 Subject: [PATCH] KPMP-216: Update to python script to zip large files --- scripts/zipPackages.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/zipPackages.py b/scripts/zipPackages.py index d4ac1831..bbc5c3c3 100755 --- a/scripts/zipPackages.py +++ b/scripts/zipPackages.py @@ -21,7 +21,8 @@ def zipdir(path, zipFileHandle): data = json.load(metadataFile) packageId = data["id"] archiveName = root + '/' + packageId + '.zip' - zipFile = zipfile.ZipFile(archiveName, 'w') + zipFile = zipfile.ZipFile(archiveName, 'w', allowZip64 = True) + print("zipping directory: " + root) zipdir(root, zipFile ) zipFile.close() - \ No newline at end of file +