Module Expr Str Assign NameStore Str Import alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Dict FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num Num body Expr Str Global identifier If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise NameLoad BinOpMod Str TupleLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad If BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad CompareEq NameLoad Str body Return NameLoad If Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad NameLoad While BoolOpAnd NameLoad NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad NameLoad attr NameLoad body Continue Expr Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num Num body Expr Str Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Num Num Num body Expr Str ImportFrom alias If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise NameLoad BinOpMod Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name TupleStore NameStore NameStore body If NameLoad body Assign NameStore ListLoad orelse Raise NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If BoolOpAnd NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad orelse Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num Num body Expr Str ImportFrom alias Global identifier Expr Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Return Assign NameStore ListLoad Expr Call NameLoad NameLoad NameLoad For NameStore NameLoad body TryExcept body Expr Call NameLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num If Call AttributeLoad NameLoad attr NameLoad body Delete SubscriptDel NameLoad Index NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Return BinOpAdd AttributeLoad NameLoad attr NameLoad orelse If CompareEq SubscriptLoad NameLoad Slice Num Num AttributeLoad NameLoad attr body Assign NameStore BinOpAdd NameLoad SubscriptLoad NameLoad Slice Num Return NameLoad decorator_list
N/A N/A distutils.dir_util

Utility functions for manipulating directories and directory trees. N/A __revision__ $Id$ N/A os sys types * distutils.errors DistutilsFileError DistutilsInternalError distutils log N/A _path_created N/A mkpath N/A N/A name mode verbose dry_run N/A 511 0 0 N/A N/A Create a directory and any missing ancestor directories.  If the
       directory already exists (or if 'name' is the empty string, which
       means the current directory, which of course exists), then do
       nothing.  Raise DistutilsFileError if unable to create some
       directory along the way (eg. some sub-path exists, but is a file
       rather than a directory).  If 'verbose' is true, print a one-line
       summary of each mkdir to stdout.  Return the list of directories
       actually created. N/A _path_created N/A N/A N/A isinstance name StringTypes N/A N/A DistutilsInternalError N/A mkpath: 'name' must be a string (got %r) N/A name N/A name N/A N/A N/A os path normpath name N/A created_dirs N/A N/A N/A N/A N/A N/A os path isdir name N/A name N/A N/A created_dirs N/A N/A N/A _path_created get N/A N/A N/A os path abspath name N/A N/A created_dirs N/A N/A head tail N/A N/A N/A os path split name N/A tails N/A tail N/A N/A head tail N/A N/A N/A N/A os path isdir head N/A N/A N/A head tail N/A N/A N/A os path split head N/A N/A N/A tails insert 0 tail N/A d tails N/A N/A head N/A N/A N/A os path join head d N/A abs_head N/A N/A N/A os path abspath head N/A N/A N/A _path_created get abs_head N/A N/A N/A N/A N/A log info creating %s head N/A N/A dry_run N/A N/A N/A N/A N/A N/A os mkdir head N/A N/A N/A created_dirs append head N/A N/A N/A OSError N/A exc N/A N/A DistutilsFileError N/A could not create '%s': %s N/A head N/A exc N/A -1 N/A N/A _path_created N/A abs_head 1 N/A created_dirs N/A create_tree N/A N/A base_dir files mode verbose dry_run N/A 511 0 0 N/A N/A Create all the empty directories under 'base_dir' needed to
       put 'files' there.  'base_dir' is just the a name of a directory
       which doesn't necessarily exist yet; 'files' is a list of filenames
       to be interpreted relative to 'base_dir'.  'base_dir' + the
       directory portion of every file in 'files' will be created if it
       doesn't already exist.  'mode', 'verbose' and 'dry_run' flags are as
       for 'mkpath()'. N/A need_dir N/A N/A file files N/A N/A N/A need_dir N/A N/A N/A N/A os path join base_dir N/A N/A N/A os path dirname file 1 N/A need_dirs N/A N/A need_dir keys N/A N/A N/A need_dirs sort N/A dir need_dirs N/A N/A N/A mkpath dir mode dry_run dry_run N/A copy_tree N/A N/A src dst preserve_mode preserve_times preserve_symlinks update verbose dry_run N/A 1 1 0 0 0 0 N/A N/A Copy an entire directory tree 'src' to a new location 'dst'.  Both
       'src' and 'dst' must be directory names.  If 'src' is not a
       directory, raise DistutilsFileError.  If 'dst' does not exist, it is
       created with 'mkpath()'.  The end result of the copy is that every
       file in 'src' is copied to 'dst', and directories under 'src' are
       recursively copied to 'dst'.  Return the list of files that were
       copied or might have been copied, using their output name.  The
       return value is unaffected by 'update' or 'dry_run': it is simply
       the list of all files under 'src', with the names changed to be
       under 'dst'.

       'preserve_mode' and 'preserve_times' are the same as for
       'copy_file'; note that they only apply to regular files, not to
       directories.  If 'preserve_symlinks' is true, symlinks will be
       copied as symlinks (on platforms that support them!); otherwise
       (the default), the destination of the symlink will be copied.
       'update' and 'verbose' are the same as for 'copy_file'. distutils.file_util copy_file N/A N/A N/A dry_run N/A N/A N/A N/A os path isdir src N/A N/A DistutilsFileError N/A cannot copy tree '%s': not a directory src N/A N/A N/A names N/A N/A os listdir src N/A N/A N/A N/A os error N/A N/A errno errstr N/A N/A dry_run N/A N/A names N/A N/A N/A DistutilsFileError N/A error listing files in '%s': %s N/A src errstr N/A N/A dry_run N/A N/A N/A mkpath dst N/A outputs N/A N/A n names N/A N/A src_name N/A N/A N/A os path join src n N/A dst_name N/A N/A N/A os path join dst n N/A N/A preserve_symlinks N/A N/A N/A os path islink src_name N/A N/A link_dest N/A N/A os readlink src_name N/A N/A N/A log info linking %s -> %s dst_name link_dest N/A N/A dry_run N/A N/A N/A N/A os symlink link_dest dst_name N/A N/A N/A outputs append dst_name N/A N/A N/A N/A N/A os path isdir src_name N/A N/A N/A N/A outputs extend N/A copy_tree src_name dst_name preserve_mode preserve_times preserve_symlinks update dry_run dry_run N/A N/A N/A copy_file src_name dst_name preserve_mode preserve_times update dry_run dry_run N/A N/A N/A outputs append dst_name N/A outputs N/A _build_cmdtuple N/A N/A path cmdtuples N/A N/A N/A f N/A N/A os listdir path N/A N/A real_f N/A N/A N/A os path join path f N/A N/A N/A N/A N/A os path isdir real_f N/A N/A N/A N/A os path islink real_f N/A N/A N/A _build_cmdtuple real_f cmdtuples N/A N/A N/A N/A cmdtuples append N/A N/A os remove real_f N/A N/A N/A cmdtuples append N/A N/A os rmdir path N/A remove_tree N/A N/A directory verbose dry_run N/A 0 0 N/A N/A Recursively remove an entire directory tree.  Any errors are ignored
    (apart from being reported to stdout if 'verbose' is true).
     distutils.util grok_environment_error N/A _path_created N/A N/A N/A log info removing '%s' (and everything under it) directory N/A dry_run N/A N/A N/A cmdtuples N/A N/A N/A _build_cmdtuple directory cmdtuples N/A cmd cmdtuples N/A N/A N/A N/A N/A apply N/A cmd N/A 0 N/A N/A cmd N/A 1 N/A abspath N/A N/A N/A os path abspath N/A cmd N/A 1 N/A N/A N/A _path_created has_key abspath N/A N/A N/A _path_created N/A abspath N/A N/A N/A N/A IOError OSError N/A exc N/A N/A N/A N/A log warn N/A grok_environment_error exc N/A error removing %s:  directory N/A ensure_relative N/A N/A path N/A N/A N/A Take the full path 'path', and make it a relative path so
    it can be the second argument to os.path.join().
     N/A N/A drive path N/A N/A N/A os path splitdrive path N/A N/A N/A sys platform mac N/A N/A N/A N/A os sep path N/A N/A N/A N/A path N/A 0 1 N/A os sep N/A N/A path N/A drive N/A path N/A 1 N/A path N/A