Home | History | Annotate | Download | only in python2.7

Lines Matching refs:base_dir

337 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0,
340 'base_dir'.
392 tar.add(base_dir, filter=_set_uid_gid)
398 def _call_external_zip(base_dir, zip_filename, verbose=False, dry_run=False):
407 spawn(["zip", zipoptions, zip_filename, base_dir], dry_run=dry_run)
416 def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None):
417 """Create a zip file from all the files under 'base_dir'.
442 _call_external_zip(base_dir, zip_filename, verbose, dry_run)
446 zip_filename, base_dir)
452 for dirpath, dirnames, filenames in os.walk(base_dir):
504 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
514 archive. 'base_dir' is the directory where we start archiving from;
515 ie. 'base_dir' will be the common prefix of all files and
516 directories in the archive. 'root_dir' and 'base_dir' both default
530 if base_dir is None:
531 base_dir = os.curdir
549 filename = func(base_name, base_dir, **kwargs)