Module Expr Str Assign NameStore Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Num Num body Expr Str Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Dict Str Str Str ListLoad Str ListLoad Str ListLoad Str If BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotIn NameLoad Call AttributeLoad NameLoad attr body Raise NameLoad Str Assign NameStore BinOpAdd NameLoad Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Assign NameStore ListLoad Str Str NameLoad NameLoad Expr Call NameLoad NameLoad keyword NameLoad If NameLoad body Expr Call NameLoad BinOpAdd BinOpAdd ListLoad NameLoad SubscriptLoad NameLoad Index NameLoad ListLoad NameLoad keyword NameLoad Return BinOpAdd NameLoad SubscriptLoad NameLoad Index NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num body Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore BinOpAdd NameLoad Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad If CompareIs NameLoad NameLoad body If NameLoad body Assign NameStore Str orelse Assign NameStore Str TryExcept body Expr Call NameLoad ListLoad Str NameLoad NameLoad NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Raise NameLoad BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore Dict Str Str Str Str Str TupleLoad NameLoad ListLoad TupleLoad Str Str Str TupleLoad NameLoad ListLoad TupleLoad Str Str Str TupleLoad NameLoad ListLoad TupleLoad Str Str Str TupleLoad NameLoad ListLoad TupleLoad Str NameLoad Str TupleLoad NameLoad ListLoad Str FunctionDef arguments args NameParam defaults body For NameStore NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Raise NameLoad BinOpMod Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Num For TupleStore NameStore NameStore SubscriptLoad NameLoad Index Num body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A distutils.archive_util

Utility functions for creating archive files (tarballs, zip files,
that sort of thing). N/A __revision__ $Id$ N/A os distutils.errors DistutilsExecError distutils.spawn spawn distutils.dir_util mkpath distutils log make_tarball N/A N/A base_name base_dir compress verbose dry_run N/A gzip 0 0 N/A N/A Create a (possibly compressed) tar file from all the files under
    'base_dir'.  'compress' must be "gzip" (the default), "compress",
    "bzip2", or None.  Both "tar" and the compression utility named by
    'compress' must be on the default program search path, so this is
    probably Unix-specific.  The output tar file will be named 'base_dir' +
    ".tar", possibly plus the appropriate compression extension (".gz",
    ".bz2" or ".Z").  Return the output filename.
     N/A compress_ext N/A gzip bzip2 compress .gz .bz2 .Z N/A compress_flags N/A gzip compress bzip2 N/A -f9 N/A -f N/A -f9 N/A N/A N/A compress None N/A compress N/A N/A compress_ext keys N/A N/A ValueError bad value for 'compress': must be None, 'gzip', or 'compress' N/A archive_name N/A base_name .tar N/A N/A mkpath N/A N/A N/A os path dirname archive_name dry_run dry_run N/A cmd N/A tar -cf archive_name base_dir N/A N/A spawn cmd dry_run dry_run N/A compress N/A N/A N/A spawn N/A N/A N/A compress N/A compress_flags N/A compress N/A archive_name dry_run dry_run N/A N/A archive_name N/A compress_ext N/A compress N/A N/A archive_name N/A make_zipfile N/A N/A base_name base_dir verbose dry_run N/A 0 0 N/A N/A Create a zip file from all the files under 'base_dir'.  The output
    zip file will be named 'base_dir' + ".zip".  Uses either the "zipfile"
    Python module (if available) or the InfoZIP "zip" utility (if installed
    and found on the default search path).  If neither tool is available,
    raises DistutilsExecError.  Returns the name of the output zip file.
     N/A N/A N/A zipfile N/A N/A N/A ImportError N/A N/A zipfile None N/A zip_filename N/A base_name .zip N/A N/A mkpath N/A N/A N/A os path dirname zip_filename dry_run dry_run N/A N/A zipfile None N/A N/A verbose N/A N/A zipoptions -r N/A N/A zipoptions -rq N/A N/A N/A N/A spawn N/A zip zipoptions zip_filename base_dir dry_run dry_run N/A N/A N/A DistutilsExecError N/A N/A DistutilsExecError N/A unable to create zip file '%s': could neither import the 'zipfile' module nor find a standalone zip utility zip_filename N/A N/A N/A N/A log info creating '%s' and adding '%s' to it zip_filename base_dir visit N/A N/A z dirname names N/A N/A N/A name names N/A N/A path N/A N/A N/A os path normpath N/A N/A N/A os path join dirname name N/A N/A N/A N/A os path isfile path N/A N/A N/A N/A z write path path N/A N/A N/A log info N/A adding '%s' path N/A N/A N/A dry_run N/A N/A z N/A N/A zipfile ZipFile zip_filename w compression N/A zipfile ZIP_DEFLATED N/A N/A N/A N/A os path walk base_dir visit z N/A N/A N/A z close N/A zip_filename N/A N/A ARCHIVE_FORMATS N/A gztar bztar ztar tar zip N/A make_tarball N/A N/A compress gzip gzip'ed tar-file N/A make_tarball N/A N/A compress bzip2 bzip2'ed tar-file N/A make_tarball N/A N/A compress compress compressed tar file N/A make_tarball N/A N/A compress None uncompressed tar file N/A make_zipfile N/A ZIP file check_archive_formats N/A N/A formats N/A N/A N/A format formats N/A N/A N/A N/A N/A ARCHIVE_FORMATS has_key format N/A N/A format N/A N/A None N/A make_archive N/A N/A base_name format root_dir base_dir verbose dry_run N/A None None 0 0 N/A N/A Create an archive file (eg. zip or tar).  'base_name' is the name
    of the file to create, minus any format-specific extension; 'format'
    is the archive format: one of "zip", "tar", "ztar", or "gztar".
    'root_dir' is a directory that will be the root directory of the
    archive; ie. we typically chdir into 'root_dir' before creating the
    archive.  'base_dir' is the directory where we start archiving from;
    ie. 'base_dir' will be the common prefix of all files and
    directories in the archive.  'root_dir' and 'base_dir' both default
    to the current directory.  Returns the name of the archive file.
     N/A save_cwd N/A N/A os getcwd N/A N/A root_dir None N/A N/A N/A N/A log debug changing into '%s' root_dir N/A base_name N/A N/A N/A os path abspath base_name N/A N/A dry_run N/A N/A N/A N/A os chdir root_dir N/A N/A base_dir None N/A N/A base_dir N/A os curdir N/A kwargs N/A dry_run dry_run N/A N/A N/A format_info N/A ARCHIVE_FORMATS N/A format N/A N/A N/A KeyError N/A N/A ValueError N/A unknown archive format '%s' format N/A func N/A format_info N/A 0 N/A N/A arg val N/A format_info N/A 1 N/A N/A N/A kwargs N/A arg val N/A filename N/A apply func N/A base_name base_dir kwargs N/A N/A root_dir None N/A N/A N/A N/A log debug changing back to '%s' save_cwd N/A N/A N/A os chdir save_cwd N/A filename N/A