From c9b7b62f6fa35292365693df503a3dac6fdf7a40 Mon Sep 17 00:00:00 2001 From: kovacsv Date: Sat, 6 Jun 2020 09:27:43 +0200 Subject: [PATCH] Compress devkit with zlib. --- CreatePackage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CreatePackage.py b/CreatePackage.py index 10efb32c..c373494f 100644 --- a/CreatePackage.py +++ b/CreatePackage.py @@ -56,7 +56,7 @@ def Main (argv): os.path.abspath (os.path.join ('Build', 'DevKit', 'lib')), os.path.abspath (os.path.join ('Build', 'DevKit', 'source')) ] - zip = zipfile.ZipFile (zipPath, 'w') + zip = zipfile.ZipFile (zipPath, mode = 'w', compression = zipfile.ZIP_DEFLATED) for folder in requiredFolders: for file in os.listdir (folder): zip.write (os.path.join (folder, file), os.path.join (os.path.basename (folder), file))