config root man

Current Path : /usr/local/lib/python2.5/distutils/command/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/distutils/command/bdist_wininst.pyo

³ò
h”Rc@sªdZdZddkZddkZddkZddklZddklZddk	l
Z
lZddkTddk
lZdd	klZd
efd„ƒYZdS(szdistutils.command.bdist_wininst

Implements the Distutils 'bdist_wininst' command: create a windows installer
exe-program.s9$Id: bdist_wininst.py 38697 2005-03-23 18:54:36Z loewis $iÿÿÿÿN(tCommand(tget_platform(tcreate_treetremove_tree(t*(tget_python_version(tlogt
bdist_wininstc
Bs£eZdZd'ddddfdd&dd	fd(d)d*d+d,d-d.d/gZdd
d
dgZd„Zd „Zd!„Zd"„Z	d&d#„Z
d$„Zd%„ZRS(0s-create an executable installer for MS Windowss
bdist-dir=s1temporary directory for creating the distributions	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 distributioncCsgd|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_dS(Ni(tNonet	bdist_dirt	keep_temptno_target_compiletno_target_optimizettarget_versiontdist_dirtbitmapttitlet
skip_buildtinstall_scripttpre_install_script(tself((s;/usr/local/lib/python2.5/distutils/command/bdist_wininst.pytinitialize_options7s										cCs|idjo.|idƒi}tii|dƒ|_n|ip
d|_n|ioT|i	i
ƒoDtƒ}|io$|i|jotd|f‚n||_n|i
ddƒ|ioLxI|i	iD]'}|itii|ƒjoPqÛqÛWtd|i‚ndS(NtbdisttwininsttsMtarget version can only be %s, or the '--skip_build' option must be specifiedRs(install_script '%s' not found in scripts(sdist_dirsdist_dir(RRtget_finalized_commandt
bdist_basetostpathtjoinRRtdistributionthas_ext_modulesRtDistutilsOptionErrortset_undefined_optionsRtscriptstbasename(RR t
short_versiontscript((s;/usr/local/lib/python2.5/distutils/command/bdist_wininst.pytfinalize_optionsGs*

	


	c
	Cs¶tidjo0|iiƒp|iiƒotdƒ‚n|ip|idƒn|idddƒ}|i	|_
|i|_d|_|idƒ}d|_d|_
|iiƒoi|i}|ptidd	!}nd
tƒ|f}|idƒ}tii|id|ƒ|_nxLdD]D}ti|ƒ}|djo|d}nt|d||ƒq2Wtid|i	ƒ|iƒtiidtii|i	dƒƒ|iƒtid=ddkl }|ƒ}	|ii!ƒ}
|i"|	dd|i	ƒ}|i#||
|i$ƒ|iiƒo
t%ƒ}nd}|ii&i'd||i(|
ƒfƒti)d|ƒti*|ƒ|i+pt,|i	d|i-ƒndS(Ntwin32s^distribution contains extensions and/or C libraries; must be compiled on a Windows 32 platformtbuildtinstalltreinit_subcommandsiitinstall_libis.%s-%stlibtpurelibtplatlibtheadersR(tdatas/Include/$dist_nametinstall_sinstalling to %stPURELIBiÿÿÿÿ(tmktemptziptroot_dirtanyRsremoving temporary file '%s'tdry_run(R3R4R5sscriptssdata(.tsystplatformR$R%thas_c_librariestDistutilsPlatformErrorRtrun_commandtreinitialize_commandRtroottwarn_dirtcompiletoptimizeRtversionRRR!R"R#t
build_baset	build_libtstringtuppertsetattrRtinfotensure_finalizedtinserttrunttempfileR9tget_fullnametmake_archivet
create_exeRRt
dist_filestappendtget_installer_filenametdebugtremoveRRR=(
RR/R1Rtplat_specifierR.tkeytvalueR9tarchive_basenametfullnametarcnamet	pyversion((s;/usr/local/lib/python2.5/distutils/command/bdist_wininst.pyRQbsd

				

%

	


cCsßg}|ii}|idƒ|ipdd}d„}xƒddddd	d
ddgD]c}t||dƒ}|oD|d
ti|ƒ||ƒf}|id|||ƒfƒq[q[W|idƒ|io|id|iƒn|id||ƒƒ|id|iƒ|id|i	ƒ|i
o|id|i
ƒn|ip
|iiƒ}|id||ƒƒddk
}ddk}	d|i|i
ƒƒ|	if}
|id|
ƒti|dƒS(Ns
[metadata]Rs
cSsti|ddƒS(Ns
s\n(RKtreplace(ts((s;/usr/local/lib/python2.5/distutils/command/bdist_wininst.pytescapeÂstauthortauthor_emailtdescriptiont
maintainertmaintainer_emailtnameturlRHs
    %s: %ss%s=%ss
[Setup]sinstall_script=%ssinfo=%sstarget_compile=%dstarget_optimize=%dstarget_version=%sstitle=%siÿÿÿÿsBuilt %s with distutils-%ss
build_info=%s(R$tmetadataRWtlong_descriptiontgetattrRKt
capitalizeRRRRRRSttimet	distutilstctimet__version__R#(RtlinesRlRNRdRjR6RRpRqt
build_info((s;/usr/local/lib/python2.5/distutils/command/bdist_wininst.pytget_inidata´s:
	%


c	Cs•ddk}|i|iƒ|iƒ}|i|ƒ}|id|ƒ|o%t|dƒiƒ}t|ƒ}nd}t|dƒ}	|	i	|i
ƒƒ|o|	i	|ƒnytWntj
on%Xt
|tƒo|idƒ}n|d}|io*t|idƒiƒ}
||
d	}n|d}|	i	|ƒ|id
dt|ƒ|ƒ}|	i	|ƒ|	i	t|dƒiƒƒdS(Niÿÿÿÿscreating %strbitwbtmbcsttrs
s<iiii{V4(tstructtmkpathRRvRXtannouncetopentreadtlentwritet
get_exe_bytestunicodet	NameErrort
isinstancetencodeRtpack(RR`R_RR|tcfgdatatinstaller_namet
bitmapdatat	bitmaplentfiletscript_datatheader((s;/usr/local/lib/python2.5/distutils/command/bdist_wininst.pyRUãs>



			
cCsS|io)tii|id||ifƒ}ntii|id|ƒ}|S(Ns%s.win32-py%s.exes%s.win32.exe(RR!R"R#R(RR_RŠ((s;/usr/local/lib/python2.5/distutils/command/bdist_wininst.pyRXs

cCs»ddkl}tƒ}|ioQ|i|joA|i|jo
|ƒ}q}|idjo
d}q}d}n
|ƒ}tiitƒ}tii|d|ƒ}t	|dƒi
ƒS(Niÿÿÿÿ(tget_build_versions2.4t6s7.1swininst-%s.exeRw(tdistutils.msvccompilerRRRR!R"tdirnamet__file__R#RR€(RRtcur_versiontbvt	directorytfilename((s;/usr/local/lib/python2.5/distutils/command/bdist_wininst.pyRƒ(s		


	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-optimizeR
s:do not compile .py to .pyo (optimized)on the target system(s	dist-dir=Rs-directory to put final built distributions in(sbitmap=Rs>bitmap to use for the installer instead of python-powered logo(stitle=R
s?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(
t__name__t
__module__RgRtuser_optionstboolean_optionsRR,RQRvRURXRƒ(((s;/usr/local/lib/python2.5/distutils/command/bdist_wininst.pyRsD						R	/7	(t__doc__t__revision__R>R!RKtdistutils.coreRtdistutils.utilRtdistutils.dir_utilRRtdistutils.errorstdistutils.sysconfigRRqRR(((s;/usr/local/lib/python2.5/distutils/command/bdist_wininst.pys<module>s$


Man Man