[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.220.130.220: ~ $
�
q��fc@s�dZdZddlZddlZddlZddlmZddlmZddl	m
Z
ddlmZm
Z
ddlmZdd	lmZd
efd��YZdS(szdistutils.command.bdist_wininst

Implements the Distutils 'bdist_wininst' command: create a windows installer
exe-program.s$Id$i����N(tget_python_version(tCommand(tremove_tree(tDistutilsOptionErrortDistutilsPlatformError(tlog(tget_platformt
bdist_wininstcBs�eZdZd,ddde�fdddd	fd
d+ddfd-d.d/d0d1d2d3d4d5g
Zdd
ddgZd$�Zd%�Zd&�Z	d'�Z
d+d(�Zd)�Zd*�Z
RS(6s-create an executable installer for MS Windowss
bdist-dir=s1temporary directory for creating the distributions
plat-name=tps;platform name to embed in generated filenames (default: %s)s	keep-temptks/keep the pseudo-installation tree around after s!creating the distribution archivestarget-version=s!require a specific python versions on the target systemsno-target-compiletcs/do not compile .py to .pyc on the target systemsno-target-optimizetos:do not compile .py to .pyo (optimized)on the target systems	dist-dir=tds-directory to put final built distributions insbitmap=tbs>bitmap to use for the installer instead of python-powered logostitle=tts?title to display on the installer background instead of defaults
skip-builds2skip rebuilding everything (for testing/debugging)sinstall-script=sTbasename of installation script to be run afterinstallation or before deinstallationspre-install-script=s{Fully qualified filename of a script to be run before any files are installed.  This script need not be in the distributionsuser-access-control=s�specify Vista's UAC handling - 'none'/default=no handling, 'auto'=use UAC if target Python installed for all users, 'force'=always use UACcCsyd|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
dS(Ni(tNonet	bdist_dirt	plat_namet	keep_temptno_target_compiletno_target_optimizettarget_versiontdist_dirtbitmapttitlet
skip_buildtinstall_scripttpre_install_scripttuser_access_control(tself((s7/usr/lib64/python2.7/distutils/command/bdist_wininst.pytinitialize_options@s												cCsV|jdd	�|jdkr|jrR|jrR|jjd�}|j|_n|jd�j}t	j
j|d�|_n|js�d|_n|jr�|jj
�r�t�}|jr�|j|kr�td|f�n||_n|jdd
d�|jrRxF|jjD]%}|jt	j
j|�krPqqWtd|j�ndS(NtbdistRtwininsttsMtarget version can only be %s, or the '--skip-build' option must be specifiedRRs(install_script '%s' not found in scripts(s
skip_builds
skip_build(sdist_dirsdist_dir(s	plat_names	plat_name(tset_undefined_optionsRRRRtdistributiontget_command_objtget_finalized_commandt
bdist_basetostpathtjoinRthas_ext_modulesRRRtscriptstbasename(RRR&t
short_versiontscript((s7/usr/lib64/python2.7/distutils/command/bdist_wininst.pytfinalize_optionsRs4		
		c
Cs�tjdkr<|jj�s-|jj�r<td��n|jsU|jd�n|jddd�}|j	|_
|j|_d|_|j|_|jd�}d|_
d|_|jj�rB|j}|s�|js�td	��tjdd
!}nd|j|f}|jd�}tjj|jd|�|_nxJdD]B}tj|�}|dkrw|d}nt|d||�qIWtjd|j	�|j�tjjdtjj|j	d��|j�tjd=ddl m!}|�}	|jj"�}
|j#|	dd|j	�}|j$||
|j%�|jj�rYt&�}nd}|jj'j(d||j)|
�f�tj*d|�tj+|�|j,s�t-|j	d|j.�ndS(Ntwin32s^distribution contains extensions and/or C libraries; must be compiled on a Windows 32 platformtbuildtinstalltreinit_subcommandsiitinstall_libs Should have already checked thisis.%s-%stlibtpurelibtplatlibtheadersR+tdatas/Include/$dist_nametinstall_sinstalling to %stPURELIBi����(tmktemptziptroot_dirtanyRsremoving temporary file '%s'tdry_run(spurelibsplatlibR8sscriptssdata(/tsystplatformR#R*thas_c_librariesRRtrun_commandtreinitialize_commandRtroottwarn_dirRtcompiletoptimizeRtAssertionErrortversionR%R'R(R)t
build_baset	build_libtstringtuppertsetattrRtinfotensure_finalizedtinserttrunttempfileR<tget_fullnametmake_archivet
create_exeRRt
dist_filestappendtget_installer_filenametdebugtremoveRRR@(
RR2R4Rtplat_specifierR1tkeytvalueR<tarchive_basenametfullnametarcnamet	pyversion((s7/usr/lib64/python2.7/distutils/command/bdist_wininst.pyRTzsf					


%

	
	c	Cs�g}|jj}|jd�|jp+dd}d�}x�ddddd	d
ddgD]a}t||d�}|rZ|d
tj|�||�f}|jd|||�f�qZqZW|jd�|jr�|jd|j�n|jd||��|jd|j�|jd|j	�|j
rM|jd|j
�n|jrm|jd|j�n|jp�|jj
�}|jd||��ddl}ddl}	d|j|j��|	jf}
|jd|
�tj|d�S(Ns
[metadata]R!s
cSstj|dd�S(Ns
s\n(RNtreplace(ts((s7/usr/lib64/python2.7/distutils/command/bdist_wininst.pytescape�stauthortauthor_emailtdescriptiont
maintainertmaintainer_emailtnameturlRKs
    %s: %ss%s=%ss
[Setup]sinstall_script=%ssinfo=%sstarget_compile=%dstarget_optimize=%dstarget_version=%ssuser_access_control=%sstitle=%si����sBuilt %s with distutils-%ss
build_info=%s(R#tmetadataRZtlong_descriptiontgetattrRNt
capitalizeRRRRRRRVttimet	distutilstctimet__version__R)(RtlinesRoRQRgRmR9RRsRtt
build_info((s7/usr/lib64/python2.7/distutils/command/bdist_wininst.pytget_inidata�s<
	$
			cCs�ddl}|j|j�|j�}|j|�}|jd|�|rrt|d�j�}t|�}nd}t|d�}	|	j	|j
��|r�|	j	|�nytWntk
r�n"Xt
|t�r�|jd�}n|d}|jr)t|jd�j�}
||
d	}n
|d}|	j	|�|jd
dt|�|�}|	j	|�|	j	t|d�j��dS(Ni����screating %strbitwbtmbcsttrs
s<iiii{V4(tstructtmkpathRRyR[tannouncetopentreadtlentwritet
get_exe_bytestunicodet	NameErrort
isinstancetencodeRtpack(RRcRbRRtcfgdatatinstaller_namet
bitmapdatat	bitmaplentfiletscript_datatheader((s7/usr/lib64/python2.7/distutils/command/bdist_wininst.pyRX�s>

	

			
cCs`|jr7tjj|jd||j|jf�}n%tjj|jd||jf�}|S(Ns%s.%s-py%s.exes	%s.%s.exe(RR'R(R)RR(RRbR�((s7/usr/lib64/python2.7/distutils/command/bdist_wininst.pyR[5s	cCsddlm}t�}|jrm|j|krm|j|krL|�}qv|jdkrdd}qvd}n	|�}tjjt�}|jdkr�|jd dkr�|jd}nd	}tjj	|d
||f�}t
|d�}z|j�SWd|j�XdS(Ni����(tget_build_versions2.4g@gffffff@R0itwinR!swininst-%.1f%s.exeRz(
tdistutils.msvccompilerR�RRR'R(tdirnamet__file__RR)R�R�tclose(RR�tcur_versiontbvt	directorytsfixtfilenametf((s7/usr/lib64/python2.7/distutils/command/bdist_wininst.pyR�Cs$					"N(s
bdist-dir=Ns1temporary directory for creating the distribution(sno-target-compileR
s/do not compile .py to .pyc on the target system(sno-target-optimizeRs:do not compile .py to .pyo (optimized)on the target system(s	dist-dir=Rs-directory to put final built distributions in(sbitmap=R
s>bitmap to use for the installer instead of python-powered logo(stitle=Rs?title to display on the installer background instead of default(s
skip-buildNs2skip rebuilding everything (for testing/debugging)(sinstall-script=NsTbasename of installation script to be run afterinstallation or before deinstallation(spre-install-script=Ns{Fully qualified filename of a script to be run before any files are installed.  This script need not be in the distribution(suser-access-control=Ns�specify Vista's UAC handling - 'none'/default=no handling, 'auto'=use UAC if target Python installed for all users, 'force'=always use UAC(t__name__t
__module__RjRRtuser_optionstboolean_optionsRR/RTRyRXR[R�(((s7/usr/lib64/python2.7/distutils/command/bdist_wininst.pyRsN
					(	S	17	(t__doc__t__revision__RAR'RNt	sysconfigRtdistutils.coreRtdistutils.dir_utilRtdistutils.errorsRRRtRtdistutils.utilRR(((s7/usr/lib64/python2.7/distutils/command/bdist_wininst.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