Lines Matching refs:zip
407 spawn(["zip", zipoptions, zip_filename, base_dir], dry_run=dry_run)
410 # external 'zip' command" and "zip failed".
412 ("unable to create zip file '%s': "
414 "find a standalone zip utility") % zip_filename
417 """Create a zip file from all the files under 'base_dir'.
419 The output zip file will be named 'base_name' + ".zip". Uses either the
420 "zipfile" Python module (if available) or the InfoZIP "zip" utility
422 available, raises ExecError. Returns the name of the output zip
425 zip_filename = base_name + ".zip"
434 # If zipfile module is not available, try spawning an external 'zip'
449 zip = zipfile.ZipFile(zip_filename, "w",
456 zip.write(path, path)
459 zip.close()
467 'zip': (_make_zipfile, [],"ZIP file")
506 """Create an archive file (eg. zip or tar).
509 extension; 'format' is the archive format: one of "zip", "tar", "bztar"
544 if format != 'zip':