Skip to content

Commit

Permalink
Compress devkit with zlib.
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacsv committed Jun 6, 2020
1 parent 29052ba commit c9b7b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CreatePackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit c9b7b62

Please sign in to comment.