Home | History | Annotate | Download | only in distutils

Lines Matching refs:base_dir

51 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0,
54 'base_dir'.
63 The output tar file will be named 'base_dir' + ".tar", possibly plus
103 tar.add(base_dir, filter=_set_uid_gid)
121 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0):
122 """Create a zip file from all the files under 'base_dir'.
147 spawn(["zip", zipoptions, zip_filename, base_dir],
159 zip_filename, base_dir)
165 for dirpath, dirnames, filenames in os.walk(base_dir):
193 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
203 archive. 'base_dir' is the directory where we start archiving from;
204 ie. 'base_dir' will be the common prefix of all files and
205 directories in the archive. 'root_dir' and 'base_dir' both default
218 if base_dir is None:
219 base_dir = os.curdir
237 filename = func(base_name, base_dir, **kwargs)