[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.137.166.174: ~ $
�
q��fc@s�dZdZddlZddlZddlmZddlmZddlmZm	Z	ddl
mZddlm
Z
d	efd
��YZdS(sHdistutils.command.build_py

Implements the Distutils 'build_py' command.s$Id$i����N(tglob(tCommand(tDistutilsOptionErrortDistutilsFileError(tconvert_path(tlogtbuild_pycBs�eZdZd#d$d&d'd(gZddgZidd6Zd�Zd�Zd�Z	d�Z
d�Zd�Zd�Z
d�Zd�Zd�Zd�Zd�Zd�Zd�Zdd�Zd�Zd �Zd!�Zd"�ZRS()s5"build" pure Python modules (copy to build directory)s
build-lib=tdsdirectory to "build" (copy) totcompiletcscompile .py to .pycs
no-compiles!don't compile .py files [default]s	optimize=tOslalso compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0]tforcetfs2forcibly build everything (ignore file timestamps)cCsLd|_d|_d|_d|_d|_d|_d|_d|_dS(Ni(	tNonet	build_libt
py_modulestpackagetpackage_datatpackage_dirRtoptimizeR(tself((s2/usr/lib64/python2.7/distutils/command/build_py.pytinitialize_options!s							cCs�|jddd�|jj|_|jj|_|jj|_i|_|jjr�x6|jjj�D]\}}t|�|j|<qhWn|j�|_	t
|jt�s�yt|j�|_Wq�t
tfk
r�td��q�XndS(NtbuildRRsoptimize must be 0, 1, or 2(s	build_libs	build_lib(sforcesforce(tset_undefined_optionstdistributiontpackagesRRRtitemsRtget_data_filest
data_filest
isinstanceRtintt
ValueErrortAssertionErrorR(Rtnametpath((s2/usr/lib64/python2.7/distutils/command/build_py.pytfinalize_options+s"		cCsS|jr|j�n|jr6|j�|j�n|j|jdd��dS(Ntinclude_bytecodei(Rt
build_modulesRtbuild_packagestbuild_package_datatbyte_compiletget_outputs(R((s2/usr/lib64/python2.7/distutils/command/build_py.pytrunDs	
	

cCs�g}|js|Sx�|jD]�}|j|�}tjj|jg|jd��}d}|rvt|�d}ng|j||�D]}||^q�}|j	||||f�qW|S(s?Generate list of '(package,src_dir,build_dir,filenames)' tuplest.ii(
Rtget_package_dirtosR"tjoinRtsplittlentfind_data_filestappend(RtdataRtsrc_dirt	build_dirtplentfilet	filenames((s2/usr/lib64/python2.7/distutils/command/build_py.pyRbs	%)cCs�|jjdg�|jj|g�}g}x[|D]S}ttjj|t|���}|jg|D]}||kri|^qi�q5W|S(s6Return filenames for package's data files in 'src_dir't(RtgetRR-R"R.Rtextend(RRR4tglobstfilestpatterntfilelisttfn((s2/usr/lib64/python2.7/distutils/command/build_py.pyR1zs
!0cCs�x�|jD]v\}}}}xa|D]Y}tjj||�}|jtjj|��|jtjj||�|dt�q#Wq
WdS(s$Copy data files into build directoryt
preserve_modeN(RR-R"R.tmkpathtdirnamet	copy_filetFalse(RRR4R5R8tfilenamettarget((s2/usr/lib64/python2.7/distutils/command/build_py.pyR'�s
cCs|jd�}|js5|r.tjj|�SdSn�g}x�|r�y|jdj|�}Wn,tk
r�|jd|d�|d=q>X|jd|�tjj|�Sq>W|jjd�}|dk	r�|jd|�n|r�tjj|�SdSdS(s�Return the directory, relative to the top of the source
           distribution, where package 'package' should be found
           (at least according to the 'package_dir' option, if any).R+R9ii����N(	R/RR-R"R.tKeyErrortinsertR:R
(RRR"ttailtpdir((s2/usr/lib64/python2.7/distutils/command/build_py.pyR,�s(		
	cCs�|dkrYtjj|�s1td|��ntjj|�sYtd|��qYn|r�tjj|d�}tjj|�r�|Stjdd|�ndS(NR9s%package directory '%s' does not exists>supposed package directory '%s' exists, but is not a directorys__init__.pys!package init file '%s' not found s(or not a regular file)(
R-R"texistsRtisdirR.tisfileRtwarnR
(RRRtinit_py((s2/usr/lib64/python2.7/distutils/command/build_py.pyt
check_package�s	cCs1tjj|�s)tjd||�tStSdS(Ns!file %s (for module %s) not found(R-R"RNRROREtTrue(Rtmoduletmodule_file((s2/usr/lib64/python2.7/distutils/command/build_py.pytcheck_module�sc	Cs�|j||�ttjj|d��}g}tjj|jj�}xx|D]p}tjj|�}||kr�tjjtjj	|��d}|j
|||f�qP|jd|�qPW|S(Ns*.pyisexcluding %s(RQRR-R"R.tabspathRtscript_nametsplitexttbasenameR2tdebug_print(	RRRtmodule_filestmodulestsetup_scriptRtabs_fRS((s2/usr/lib64/python2.7/distutils/command/build_py.pytfind_package_modules�s
"cCs!i}g}x|jD]}|jd�}dj|dd!�}|d}y||\}}Wn&tk
r�|j|�}d}nX|s�|j||�}	|df||<|	r�|j|d|	f�q�ntjj||d�}
|j	||
�sqn|j|||
f�qW|S(s�Finds individually-specified Python modules, ie. those listed by
        module name in 'self.py_modules'.  Returns a list of tuples (package,
        module_base, filename): 'package' is a tuple of the path through
        package-space to the module; 'module_base' is the bare (no
        packages, no dots) module name, and 'filename' is the path to the
        ".py" file (relative to the distribution root) that implements the
        module.
        R+ii����it__init__s.py(
RR/R.RHR,RQR2R-R"RU(RRR\RSR"Rtmodule_baseRtcheckedRPRT((s2/usr/lib64/python2.7/distutils/command/build_py.pytfind_modules�s*


cCswg}|jr%|j|j��n|jrsxB|jD]4}|j|�}|j||�}|j|�q8Wn|S(s4Compute the list of all modules that will be built, whether
        they are specified one-module-at-a-time ('self.py_modules') or
        by whole packages ('self.packages').  Return a list of tuples
        (package, module, module_file), just like 'find_modules()' and
        'find_package_modules()' do.(RR;RcRR,R_(RR\RRtm((s2/usr/lib64/python2.7/distutils/command/build_py.pytfind_all_moduless		cCs!g|j�D]}|d^q
S(Ni����(Re(RRS((s2/usr/lib64/python2.7/distutils/command/build_py.pytget_source_files,scCs.|gt|�|dg}tjj|�S(Ns.py(tlistR-R"R.(RR5RRStoutfile_path((s2/usr/lib64/python2.7/distutils/command/build_py.pytget_module_outfile/sicCs�|j�}g}x�|D]�\}}}|jd�}|j|j||�}|j|�|r|jr|j|d�n|jdkr�|j|d�q�qqW|g|jD]4\}}}	}
|
D]}tj	j
|	|�^q�q�7}|S(NR+R	ito(ReR/RiRR2RRRR-R"R.(RR$R\toutputsRRSRTRFR4R5R8((s2/usr/lib64/python2.7/distutils/command/build_py.pyR)3s 
	)cCs�t|t�r!|jd�}n$t|ttf�sEtd��n|j|j||�}tj	j
|�}|j|�|j||dd�S(NR+s:'package' must be a string (dot-separated), list, or tupleRAi(
RtstrR/Rgttuplet	TypeErrorRiRR-R"RCRBRD(RRSRTRtoutfiletdir((s2/usr/lib64/python2.7/distutils/command/build_py.pytbuild_moduleHs
cCs=|j�}x*|D]"\}}}|j|||�qWdS(N(RcRq(RR\RRSRT((s2/usr/lib64/python2.7/distutils/command/build_py.pyR%WscCsfx_|jD]T}|j|�}|j||�}x*|D]"\}}}|j|||�q8Wq
WdS(N(RR,R_Rq(RRRR\tpackage_RSRT((s2/usr/lib64/python2.7/distutils/command/build_py.pyR&as
c
Cs�tjr|jd�dSddlm}|j}|dtjkrV|tj}n|jr�||ddd|j	d|d|j
�n|jdkr�||d|jd|j	d|d|j
�ndS(	Ns%byte-compiling is disabled, skipping.i����(R(RiRtprefixtdry_run(tsystdont_write_bytecodeROtdistutils.utilR(RR-tsepRRRtR(RR=R(Rs((s2/usr/lib64/python2.7/distutils/command/build_py.pyR(vs	
		(s
build-lib=Rsdirectory to "build" (copy) to(scompileR	scompile .py to .pycN(s
no-compileNs!don't compile .py files [default](s	optimize=R
slalso compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0](sforceRs2forcibly build everything (ignore file timestamps)(t__name__t
__module__tdescriptionR
tuser_optionstboolean_optionstnegative_optRR#R*RR1R'R,RQRUR_RcReRfRiR)RqR%R&R((((s2/usr/lib64/python2.7/distutils/command/build_py.pyRs8	
	
							(				4					
	(t__doc__t__revision__R-RuRtdistutils.coreRtdistutils.errorsRRRwRt	distutilsRR(((s2/usr/lib64/python2.7/distutils/command/build_py.pyt<module>s

Filemanager

Name Type Size Permission Actions
.__init__.pyo.40009 File 665 B 0644
.bdist.pyo.40009 File 5.1 KB 0644
.bdist_dumb.pyo.40009 File 4.92 KB 0644
.build.pyo.40009 File 5.03 KB 0644
.build_clib.pyo.40009 File 6.28 KB 0644
.build_ext.pyo.40009 File 19.09 KB 0644
.build_scripts.pyo.40009 File 4.43 KB 0644
.check.pyo.40009 File 6.08 KB 0644
.clean.pyo.40009 File 3.1 KB 0644
.config.pyo.40009 File 12.39 KB 0644
.install.pyo.40009 File 16.5 KB 0644
.install_data.pyo.40009 File 3.09 KB 0644
.install_egg_info.pyo.40009 File 3.68 KB 0644
.install_headers.pyo.40009 File 2.24 KB 0644
.install_lib.pyo.40009 File 6.63 KB 0644
.install_scripts.pyo.40009 File 2.93 KB 0644
.register.pyo.40009 File 9.98 KB 0644
.sdist.pyo.40009 File 16.31 KB 0644
.upload.pyo.40009 File 6.13 KB 0644
__init__.py File 822 B 0644
__init__.pyc File 665 B 0644
__init__.pyo File 665 B 0644
bdist.py File 5.46 KB 0644
bdist.pyc File 5.1 KB 0644
bdist.pyo File 5.1 KB 0644
bdist_dumb.py File 5.07 KB 0644
bdist_dumb.pyc File 4.92 KB 0644
bdist_dumb.pyo File 4.92 KB 0644
bdist_msi.py File 34.37 KB 0644
bdist_msi.pyc File 23.45 KB 0644
bdist_msi.pyo File 23.35 KB 0644
bdist_rpm.py File 20.55 KB 0644
bdist_rpm.pyc File 17.32 KB 0644
bdist_rpm.pyo File 17.24 KB 0644
bdist_wininst.py File 14.65 KB 0644
bdist_wininst.pyc File 10.55 KB 0644
bdist_wininst.pyo File 10.47 KB 0644
build.py File 5.31 KB 0644
build.pyc File 5.03 KB 0644
build.pyo File 5.03 KB 0644
build_clib.py File 7.94 KB 0644
build_clib.pyc File 6.28 KB 0644
build_clib.pyo File 6.28 KB 0644
build_ext.py File 31.75 KB 0644
build_ext.py.debug-build File 31.53 KB 0644
build_ext.pyc File 19.09 KB 0644
build_ext.pyo File 19.09 KB 0644
build_py.py File 15.92 KB 0644
build_py.pyc File 11.24 KB 0644
build_py.pyo File 11.17 KB 0644
build_scripts.py File 4.49 KB 0644
build_scripts.pyc File 4.43 KB 0644
build_scripts.pyo File 4.43 KB 0644
check.py File 5.43 KB 0644
check.pyc File 6.08 KB 0644
check.pyo File 6.08 KB 0644
clean.py File 2.75 KB 0644
clean.pyc File 3.1 KB 0644
clean.pyo File 3.1 KB 0644
command_template File 719 B 0644
config.py File 12.82 KB 0644
config.pyc File 12.39 KB 0644
config.pyo File 12.39 KB 0644
install.py File 25.65 KB 0644
install.pyc File 16.5 KB 0644
install.pyo File 16.5 KB 0644
install_data.py File 2.78 KB 0644
install_data.pyc File 3.09 KB 0644
install_data.pyo File 3.09 KB 0644
install_egg_info.py File 2.53 KB 0644
install_egg_info.pyc File 3.68 KB 0644
install_egg_info.pyo File 3.68 KB 0644
install_headers.py File 1.31 KB 0644
install_headers.pyc File 2.24 KB 0644
install_headers.pyo File 2.24 KB 0644
install_lib.py File 8.14 KB 0644
install_lib.pyc File 6.63 KB 0644
install_lib.pyo File 6.63 KB 0644
install_scripts.py File 2.02 KB 0644
install_scripts.pyc File 2.93 KB 0644
install_scripts.pyo File 2.93 KB 0644
register.py File 11.56 KB 0644
register.pyc File 9.98 KB 0644
register.pyo File 9.98 KB 0644
sdist.py File 18.12 KB 0644
sdist.pyc File 16.31 KB 0644
sdist.pyo File 16.31 KB 0644
upload.py File 6.84 KB 0644
upload.pyc File 6.13 KB 0644
upload.pyo File 6.13 KB 0644
wininst-6.0.exe File 60 KB 0644
wininst-7.1.exe File 64 KB 0644
wininst-8.0.exe File 60 KB 0644
wininst-9.0-amd64.exe File 218.5 KB 0644
wininst-9.0.exe File 191.5 KB 0644