/opt/alt/python36/lib64/python3.6/distutils/__pycache__
NameSizeModeActions
archive_util.cpython-36.opt-1.pyc65400644editdlrm
archive_util.cpython-36.opt-2.pyc44890644editdlrm
archive_util.cpython-36.pyc65400644editdlrm
bcppcompiler.cpython-36.opt-1.pyc64940644editdlrm
bcppcompiler.cpython-36.opt-2.pyc61960644editdlrm
bcppcompiler.cpython-36.pyc64940644editdlrm
ccompiler.cpython-36.opt-1.pyc332330644editdlrm
ccompiler.cpython-36.opt-2.pyc168730644editdlrm
ccompiler.cpython-36.pyc333600644editdlrm
cmd.cpython-36.opt-1.pyc150010644editdlrm
cmd.cpython-36.opt-2.pyc89940644editdlrm
cmd.cpython-36.pyc150010644editdlrm
config.cpython-36.opt-1.pyc35000644editdlrm
config.cpython-36.opt-2.pyc30980644editdlrm
config.cpython-36.pyc35000644editdlrm
core.cpython-36.opt-1.pyc68160644editdlrm
core.cpython-36.opt-2.pyc34190644editdlrm
core.cpython-36.pyc68160644editdlrm
cygwinccompiler.cpython-36.opt-1.pyc85210644editdlrm
cygwinccompiler.cpython-36.opt-2.pyc68810644editdlrm
cygwinccompiler.cpython-36.pyc85210644editdlrm
debug.cpython-36.opt-1.pyc2010644editdlrm
debug.cpython-36.opt-2.pyc1910644editdlrm
debug.cpython-36.pyc2010644editdlrm
dep_util.cpython-36.opt-1.pyc27170644editdlrm
dep_util.cpython-36.opt-2.pyc12630644editdlrm
dep_util.cpython-36.pyc27170644editdlrm
dir_util.cpython-36.opt-1.pyc58170644editdlrm
dir_util.cpython-36.opt-2.pyc34290644editdlrm
dir_util.cpython-36.pyc58170644editdlrm
dist.cpython-36.opt-1.pyc342260644editdlrm
dist.cpython-36.opt-2.pyc249200644editdlrm
dist.cpython-36.pyc342260644editdlrm
errors.cpython-36.opt-1.pyc54870644editdlrm
errors.cpython-36.opt-2.pyc28390644editdlrm
errors.cpython-36.pyc54870644editdlrm
extension.cpython-36.opt-1.pyc69630644editdlrm
extension.cpython-36.opt-2.pyc34630644editdlrm
extension.cpython-36.pyc69630644editdlrm
fancy_getopt.cpython-36.opt-1.pyc105160644editdlrm
fancy_getopt.cpython-36.opt-2.pyc76950644editdlrm
fancy_getopt.cpython-36.pyc106660644editdlrm
filelist.cpython-36.opt-1.pyc97880644editdlrm
filelist.cpython-36.opt-2.pyc69070644editdlrm
filelist.cpython-36.pyc98780644editdlrm
file_util.cpython-36.opt-1.pyc59100644editdlrm
file_util.cpython-36.opt-2.pyc37630644editdlrm
file_util.cpython-36.pyc59100644editdlrm
log.cpython-36.opt-1.pyc23120644editdlrm
log.cpython-36.opt-2.pyc22410644editdlrm
log.cpython-36.pyc23120644editdlrm
msvc9compiler.cpython-36.opt-1.pyc173940644editdlrm
msvc9compiler.cpython-36.opt-2.pyc157670644editdlrm
msvc9compiler.cpython-36.pyc174570644editdlrm
msvccompiler.cpython-36.opt-1.pyc145810644editdlrm
msvccompiler.cpython-36.opt-2.pyc129900644editdlrm
msvccompiler.cpython-36.pyc145810644editdlrm
spawn.cpython-36.opt-1.pyc50060644editdlrm
spawn.cpython-36.opt-2.pyc36920644editdlrm
spawn.cpython-36.pyc50060644editdlrm
sysconfig.cpython-36.opt-1.pyc119590644editdlrm
sysconfig.cpython-36.opt-2.pyc84610644editdlrm
sysconfig.cpython-36.pyc119590644editdlrm
text_file.cpython-36.opt-1.pyc84710644editdlrm
text_file.cpython-36.opt-2.pyc33590644editdlrm
text_file.cpython-36.pyc84710644editdlrm
unixccompiler.cpython-36.opt-1.pyc68770644editdlrm
unixccompiler.cpython-36.opt-2.pyc62380644editdlrm
unixccompiler.cpython-36.pyc68770644editdlrm
util.cpython-36.opt-1.pyc155360644editdlrm
util.cpython-36.opt-2.pyc94650644editdlrm
util.cpython-36.pyc155360644editdlrm
version.cpython-36.opt-1.pyc73220644editdlrm
version.cpython-36.opt-2.pyc40270644editdlrm
version.cpython-36.pyc73670644editdlrm
versionpredicate.cpython-36.opt-1.pyc50960644editdlrm
versionpredicate.cpython-36.opt-2.pyc26060644editdlrm
versionpredicate.cpython-36.pyc50960644editdlrm
_msvccompiler.cpython-36.opt-1.pyc135140644editdlrm
_msvccompiler.cpython-36.opt-2.pyc126920644editdlrm
_msvccompiler.cpython-36.pyc135750644editdlrm
__init__.cpython-36.opt-1.pyc3910644editdlrm
__init__.cpython-36.opt-2.pyc1990644editdlrm
__init__.cpython-36.pyc3910644editdlrm
Edit: /opt/alt/python36/lib64/python3.6/distutils/__pycache__/dir_util.cpython-36.pyc (5817B)
3 jfb@spdZddlZddlZddlmZmZddlmZiadddZ dd d Z dd d Z d dZ dddZ ddZdS)zWdistutils.dir_util Utility functions for manipulating directories and directory trees.N)DistutilsFileErrorDistutilsInternalError)logc Cspt|tstd|ftjj|}g}tjj|s<|dkr@|Stjtjj |rV|Stjj |\}}|g}x6|r|rtjj| rtjj |\}}|j d|qnWx|D]}tjj ||}tjj |} tj| rq|dkrt jd||s`ytj||WnVtk rT} z8| jtjko*tjj|sDtd|| jdfWYdd} ~ XnX|j|dt| <qW|S) aCreate 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. z(mkpath: 'name' must be a string (got %r)rrz creating %szcould not create '%s': %sN) isinstancestrrospathnormpathisdir _path_createdgetabspathsplitinsertjoinrinfomkdirOSErrorerrnoZEEXISTrargsappend) namemodeverbosedry_runZ created_dirsheadtailZtailsdZabs_headexcr#7/opt/alt/python36/lib64/python3.6/distutils/dir_util.pymkpaths>       &  r%cCsVt}x(|D] }|jtjj|tjj|q Wx t|D]}t||||dq:WdS)aCreate all the empty directories under 'base_dir' needed to put 'files' there. 'base_dir' is just the 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()'. )rrN)setaddr r rdirnamesortedr%)Zbase_dirfilesrrrZneed_dirfiledirr#r#r$ create_treePs   r-cCsfddlm}| r,tjj| r,td|ytj|} Wn>tk rx} z"|rVg} ntd|| jfWYdd} ~ XnX|st ||dg} x| D]} tjj || } tjj || }| j drq|otjj | rtj | }|dkrtjd |||stj||| j|qtjj| r>| jt| |||||||d q|| ||||||d | j|qW| S) aCopy 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'. r) copy_filez&cannot copy tree '%s': not a directoryzerror listing files in '%s': %sN)rz.nfsrzlinking %s -> %s)rr)Zdistutils.file_utilr.r r rrlistdirrstrerrorr%r startswithislinkreadlinkrrsymlinkrextend copy_tree)srcdstZ preserve_modeZpreserve_timesZpreserve_symlinksupdaterrr.nameseZoutputsnZsrc_nameZdst_nameZ link_destr#r#r$r6csH  "      r6cCslxVtj|D]H}tjj||}tjj|rDtjj| rDt||q |jtj|fq W|jtj |fdS)zHelper for remove_tree().N) r r/r rrr2_build_cmdtuplerremovermdir)r cmdtuplesfZreal_fr#r#r$r=s  r=cCs|dkrtjd||rdSg}t||xp|D]h}y2|d|dtjj|d}|tkrdt|=Wq0tk r}ztjd||WYdd}~Xq0Xq0WdS)zRecursively remove an entire directory tree. Any errors are ignored (apart from being reported to stdout if 'verbose' is true). rz'removing '%s' (and everything under it)Nrzerror removing %s: %s) rrr=r r rrrwarn)Z directoryrrr@cmdrr"r#r#r$ remove_trees    rDcCs6tjj|\}}|ddtjkr2||dd}|S)zTake the full path 'path', and make it a relative path. This is useful to make 'path' the second argument to os.path.join(). rrN)r r splitdrivesep)r Zdriver#r#r$ensure_relativesrG)rrr)rrr)rrrrrr)rr)__doc__r rZdistutils.errorsrrZ distutilsrrr%r-r6r=rDrGr#r#r#r$s  ?  D