Changeset 5620

Show
Ignore:
Timestamp:
08/01/12 07:21:36 (7 years ago)
Author:
justinc
Message:

add compression!!! Fix for #1077.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • seattle/trunk/dist/make_base_installers.py

    r5619 r5620  
    331331  # will be compressed into the Windows gui installer. 
    332332  installer_zipfile = zipfile.ZipFile(temp_tarball_dir + os.sep + zip_inst_name, 
    333                                       'r') 
     333                                      'r', zipfile.ZIP_DEFLATED) 
    334334  installer_zipfile.extractall(win_gui_location) 
    335335  shutil.copy(trunk_location + os.sep + "dist" + os.sep \ 
     
    410410                 temp_tarball_dir + os.sep + inst_name) 
    411411    installer_zipfile = zipfile.ZipFile(temp_tarball_dir + os.sep + inst_name, 
    412                                         "a") 
     412                                        "a", zipfile.ZIP_DEFLATED) 
    413413  else: 
    414414    installer_zipfile = zipfile.ZipFile(temp_tarball_dir + os.sep + inst_name, 
    415                                         "w") 
     415                                        "w", zipfile.ZIP_DEFLATED) 
    416416 
    417417  # Put all general program files into zipfile. 
     
    586586   """ 
    587587 
    588   installer_zipfile = zipfile.ZipFile(temp_tarball_dir+os.sep+inst_name, "w") 
     588  installer_zipfile = zipfile.ZipFile(temp_tarball_dir+os.sep+inst_name, "w", zipfile.ZIP_DEFLATED) 
    589589     
    590590  # Put all general installer files into the zip file.