build: allow zip files to be created larger than 2GB
This commit is contained in:
parent
515c927b14
commit
30448bb1b8
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ def main(argv):
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
execute(['zip', '-r', '-y', dist_zip] + list(dist_files))
|
execute(['zip', '-r', '-y', dist_zip] + list(dist_files))
|
||||||
else:
|
else:
|
||||||
with zipfile.ZipFile(dist_zip, 'w', zipfile.ZIP_DEFLATED) as z:
|
with zipfile.ZipFile(dist_zip, 'w', zipfile.ZIP_DEFLATED, True) as z:
|
||||||
for dep in dist_files:
|
for dep in dist_files:
|
||||||
if skip_path(dep, dist_zip, target_cpu):
|
if skip_path(dep, dist_zip, target_cpu):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue