[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.118.0.93: ~ $
�
q��fc@s�dZdZddlZddlZddlmZmZddlmZia	dddd	�Z
dddd
�Zddddddd�Zd�Z
ddd
�Zd�ZdS(sWdistutils.dir_util

Utility functions for manipulating directories and directory trees.s$Id$i����N(tDistutilsFileErrortDistutilsInternalError(tlogi�iic
Cs�t|t�s"td|f�ntjj|�}g}tjj|�sX|dkr\|Stjtjj	|��r{|Stjj
|�\}}|g}xK|r�|r�tjj|�r�tjj
|�\}}|jd|�q�Wx�|D]�}tjj||�}tjj	|�}	tj|	�r3q�n|dkrRt
jd|�n|s�ytj||�WnWtk
r�}
|
jtjko�tjj|�s�td||
jdf��q�nX|j|�ndt|	<q�W|S(s�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.
    s(mkpath: 'name' must be a string (got %r)tiiscreating %sscould not create '%s': %si����(t
isinstancet
basestringRtostpathtnormpathtisdirt
_path_createdtgettabspathtsplittinserttjoinRtinfotmkdirtOSErrorterrnotEEXISTRtargstappend(tnametmodetverbosetdry_runtcreated_dirstheadttailttailstdtabs_headtexc((s*/usr/lib64/python2.7/distutils/dir_util.pytmkpaths>	"
$!c	Cs�i}x3|D]+}d|tjj|tjj|��<q
W|j�}|j�x'|D]}t||d|d|�qYWdS(s�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()'.
    iRRN(RRRtdirnametkeystsortR"(	tbase_dirtfilesRRRtneed_dirtfilet	need_dirstdir((s*/usr/lib64/python2.7/distutils/dir_util.pytcreate_treeRs
)

cCs�ddlm}|r:tjj|�r:td|�nytj|�}	Wn>tjk
r�\}
}|rwg}	q�td||f�nX|s�t|d|�ng}x1|	D])}
tjj	||
�}tjj	||
�}|
j
d�r�q�n|rktjj|�rktj|�}|dkrBt
jd||�n|s[tj||�n|j|�q�tjj|�r�|jt||||||d|d	|��q�||||||d|d	|�|j|�q�W|S(
sCopy 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'.
    i����(t	copy_files&cannot copy tree '%s': not a directoryserror listing files in '%s': %sRs.nfsislinking %s -> %sR(tdistutils.file_utilR-RRR	RtlistdirterrorR"Rt
startswithtislinktreadlinkRRtsymlinkRtextendt	copy_tree(tsrctdstt
preserve_modetpreserve_timestpreserve_symlinkstupdateRRR-tnamesRterrstrtoutputstntsrc_nametdst_namet	link_dest((s*/usr/lib64/python2.7/distutils/dir_util.pyR6gsH
	
cCs�xwtj|�D]f}tjj||�}tjj|�r`tjj|�r`t||�q|jtj|f�qW|jtj	|f�dS(sHelper for remove_tree().N(
RR/RRR	R2t_build_cmdtupleRtremovetrmdir(Rt	cmdtuplestftreal_f((s*/usr/lib64/python2.7/distutils/dir_util.pyRD�s%cCs�ddlm}|dkr/tjd|�n|r9dSg}t||�x�|D]~}yB|d|d�tjj|d�}|tkr�t|=nWqSt	t
fk
r�}tj||d|��qSXqSWdS(s�Recursively remove an entire directory tree.

    Any errors are ignored (apart from being reported to stdout if 'verbose'
    is true).
    i����(tgrok_environment_erroris'removing '%s' (and everything under it)Niserror removing %s: (tdistutils.utilRJRRRDRRRR
tIOErrorRtwarn(t	directoryRRRJRGtcmdRR!((s*/usr/lib64/python2.7/distutils/dir_util.pytremove_tree�s 

	cCsCtjj|�\}}|dd!tjkr?||d}n|S(s�Take the full path 'path', and make it a relative path.

    This is useful to make 'path' the second argument to os.path.join().
    ii(RRt
splitdrivetsep(Rtdrive((s*/usr/lib64/python2.7/distutils/dir_util.pytensure_relative�s(t__doc__t__revision__RRtdistutils.errorsRRt	distutilsRR
R"R,R6RDRPRT(((s*/usr/lib64/python2.7/distutils/dir_util.pyt<module>s?D	


Filemanager

Name Type Size Permission Actions
command Folder 0755
.__init__.pyo.40009 File 385 B 0644
.archive_util.pyo.40009 File 7.28 KB 0644
.bcppcompiler.pyo.40009 File 7.7 KB 0644
.cmd.pyo.40009 File 16.41 KB 0644
.config.pyo.40009 File 3.49 KB 0644
.core.pyo.40009 File 7.5 KB 0644
.cygwinccompiler.pyo.40009 File 9.19 KB 0644
.debug.pyo.40009 File 254 B 0644
.dep_util.pyo.40009 File 3.11 KB 0644
.dir_util.pyo.40009 File 6.72 KB 0644
.dist.pyo.40009 File 38.64 KB 0644
.emxccompiler.pyo.40009 File 7.29 KB 0644
.errors.pyo.40009 File 6.14 KB 0644
.file_util.pyo.40009 File 6.47 KB 0644
.filelist.pyo.40009 File 10.51 KB 0644
.log.pyo.40009 File 2.72 KB 0644
.msvccompiler.pyo.40009 File 17.11 KB 0644
.spawn.pyo.40009 File 6.02 KB 0644
.sysconfig.pyo.40009 File 12.96 KB 0644
.text_file.pyo.40009 File 9.03 KB 0644
.unixccompiler.pyo.40009 File 7.76 KB 0644
.util.pyo.40009 File 14.58 KB 0644
.version.pyo.40009 File 7.04 KB 0644
.versionpredicate.pyo.40009 File 5.41 KB 0644
README File 295 B 0644
__init__.py File 337 B 0644
__init__.pyc File 385 B 0644
__init__.pyo File 385 B 0644
archive_util.py File 7.64 KB 0644
archive_util.pyc File 7.28 KB 0644
archive_util.pyo File 7.28 KB 0644
bcppcompiler.py File 14.59 KB 0644
bcppcompiler.pyc File 7.7 KB 0644
bcppcompiler.pyo File 7.7 KB 0644
ccompiler.py File 45.54 KB 0644
ccompiler.pyc File 35.96 KB 0644
ccompiler.pyo File 35.82 KB 0644
cmd.py File 18.82 KB 0644
cmd.pyc File 16.41 KB 0644
cmd.pyo File 16.41 KB 0644
config.py File 4.03 KB 0644
config.pyc File 3.49 KB 0644
config.pyo File 3.49 KB 0644
core.py File 8.88 KB 0644
core.pyc File 7.5 KB 0644
core.pyo File 7.5 KB 0644
cygwinccompiler.py File 16.87 KB 0644
cygwinccompiler.pyc File 9.19 KB 0644
cygwinccompiler.pyo File 9.19 KB 0644
debug.py File 162 B 0644
debug.pyc File 254 B 0644
debug.pyo File 254 B 0644
dep_util.py File 3.43 KB 0644
dep_util.pyc File 3.11 KB 0644
dep_util.pyo File 3.11 KB 0644
dir_util.py File 7.78 KB 0644
dir_util.pyc File 6.72 KB 0644
dir_util.pyo File 6.72 KB 0644
dist.py File 48.88 KB 0644
dist.pyc File 38.64 KB 0644
dist.pyo File 38.64 KB 0644
emxccompiler.py File 11.65 KB 0644
emxccompiler.pyc File 7.29 KB 0644
emxccompiler.pyo File 7.29 KB 0644
errors.py File 3.41 KB 0644
errors.pyc File 6.14 KB 0644
errors.pyo File 6.14 KB 0644
extension.py File 10.65 KB 0644
extension.pyc File 7.24 KB 0644
extension.pyo File 7.02 KB 0644
fancy_getopt.py File 17.53 KB 0644
fancy_getopt.pyc File 11.68 KB 0644
fancy_getopt.pyo File 11.5 KB 0644
file_util.py File 7.61 KB 0644
file_util.pyc File 6.47 KB 0644
file_util.pyo File 6.47 KB 0644
filelist.py File 12.39 KB 0644
filelist.pyc File 10.51 KB 0644
filelist.pyo File 10.51 KB 0644
log.py File 1.65 KB 0644
log.pyc File 2.72 KB 0644
log.pyo File 2.72 KB 0644
msvc9compiler.py File 30.29 KB 0644
msvc9compiler.pyc File 21.04 KB 0644
msvc9compiler.pyo File 20.96 KB 0644
msvccompiler.py File 23.08 KB 0644
msvccompiler.pyc File 17.11 KB 0644
msvccompiler.pyo File 17.11 KB 0644
spawn.py File 7.61 KB 0644
spawn.pyc File 6.02 KB 0644
spawn.pyo File 6.02 KB 0644
sysconfig.py File 16.52 KB 0644
sysconfig.py.debug-build File 16.42 KB 0644
sysconfig.pyc File 12.96 KB 0644
sysconfig.pyo File 12.96 KB 0644
text_file.py File 12.12 KB 0644
text_file.pyc File 9.03 KB 0644
text_file.pyo File 9.03 KB 0644
unixccompiler.py File 12.56 KB 0644
unixccompiler.py.distutils-rpath File 12.03 KB 0644
unixccompiler.pyc File 7.76 KB 0644
unixccompiler.pyo File 7.76 KB 0644
util.py File 18.28 KB 0644
util.pyc File 14.58 KB 0644
util.pyo File 14.58 KB 0644
version.py File 11.17 KB 0644
version.pyc File 7.04 KB 0644
version.pyo File 7.04 KB 0644
versionpredicate.py File 4.98 KB 0644
versionpredicate.pyc File 5.41 KB 0644
versionpredicate.pyo File 5.41 KB 0644