diff options
-rw-r--r-- | Lib/distutils/archive_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/archive_util.py b/Lib/distutils/archive_util.py index 61bc25e..4c5641b 100644 --- a/Lib/distutils/archive_util.py +++ b/Lib/distutils/archive_util.py @@ -100,7 +100,7 @@ def make_zipfile (base_name, base_dir, verbose=0, dry_run=0): z.write(path, path) if not dry_run: - z = zipfile.ZipFile(zip_filename, "wb", + z = zipfile.ZipFile(zip_filename, "w", compression=zipfile.ZIP_DEFLATED) os.path.walk(base_dir, visit, z) |