Skip to content

Commit c9b7b62

Browse files
committed
Compress devkit with zlib.
1 parent 29052ba commit c9b7b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CreatePackage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def Main (argv):
5656
os.path.abspath (os.path.join ('Build', 'DevKit', 'lib')),
5757
os.path.abspath (os.path.join ('Build', 'DevKit', 'source'))
5858
]
59-
zip = zipfile.ZipFile (zipPath, 'w')
59+
zip = zipfile.ZipFile (zipPath, mode = 'w', compression = zipfile.ZIP_DEFLATED)
6060
for folder in requiredFolders:
6161
for file in os.listdir (folder):
6262
zip.write (os.path.join (folder, file), os.path.join (os.path.basename (folder), file))

0 commit comments

Comments
 (0)