Use the ZIP_DEFLATED compression when creating zip archive.

The building Windows zip decompressor handles only DEFLATED.
This commit is contained in:
Matthieu Gautier 2018-08-28 14:56:11 +02:00
parent c75fd9b85c
commit b16213b1c0
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ def make_archive(project, platform):
if platform == "win-i686":
file_to_archives = ['{}.exe'.format(f) for f in file_to_archives]
open_archive = lambda a : zipfile.ZipFile(str(a), 'w', compression=zipfile.ZIP_LZMA)
open_archive = lambda a : zipfile.ZipFile(str(a), 'w', compression=zipfile.ZIP_DEFLATED)
archive_add = lambda a, f : a.write(str(base_bin_dir/f), arcname=str(f))
archive_ext = ".zip"
else: