Home | History | Annotate | Download | only in distutils

Lines Matching refs:zip

3 Utility functions for creating archive files (tarballs, zip files,
122 """Create a zip file from all the files under 'base_dir'.
124 The output zip file will be named 'base_name' + ".zip". Uses either the
125 "zipfile" Python module (if available) or the InfoZIP "zip" utility
127 available, raises DistutilsExecError. Returns the name of the output zip
135 zip_filename = base_name + ".zip"
139 # 'zip' command.
147 spawn(["zip", zipoptions, zip_filename, base_dir],
151 # external 'zip' command" and "zip failed".
153 ("unable to create zip file '%s': "
155 "find a standalone zip utility") % zip_filename
162 zip = zipfile.ZipFile(zip_filename, "w",
169 zip.write(path, path)
171 zip.close()
180 'zip': (make_zipfile, [],"ZIP file")
195 """Create an archive file (eg. zip or tar).
198 extension; 'format' is the archive format: one of "zip", "tar", "ztar",
232 if format != 'zip':