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_msi.pyc

hRc@sdZddkZddkZddkZddklZddklZddkl	Z	ddk
lZddkl
Z
ddklZdd	klZddkZdd
klZlZlZddklZlZlZlZdefd
YZdefdYZdS(s#
Implements the bdist_msi command.
iN(tCommand(tget_platform(tremove_tree(tget_python_version(t
StrictVersion(tDistutilsOptionError(tlog(tschematsequencettext(t	DirectorytFeaturetDialogtadd_datatPyDialogcBsVeZdZdZdZdddZdddZddd	Zd
ZRS(sDialog class with a fixed layout: controls at the top, then a ruler,
    then a list of buttons: back, next, cancel. Optionally a bitmap at the
    left.cOsKti|||id}d|d}|idd||iddS(sbDialog(database, name, x, y, w, h, attributes, title, first,
        default, cancel, bitmap=true)i$iiHt
BottomLineiN(Rt__init__thtlinetw(tselftargstkwtrulertbmwidth((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pyRs
c	Cs'|iddddddd|dS(	s,Set the title text of the dialog at the top.tTitleii
i@i<is{\VerdanaBold10}%sN(R	(Rttitle((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pyR$stBackic	Cs@|o
d}nd}|i|d|iddd|||S(sAdd a back button with a given title, the tab-next button,
        its name in the Control table, possibly initially disabled.

        Return the button, so that events can be associatediiiii8i(t
pushbuttonR(RRtnexttnametactivetflags((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pytback+s
tCancelc	Cs@|o
d}nd}|i|d|iddd|||S(sAdd a cancel button with a given title, the tab-next button,
        its name in the Control table, possibly initially disabled.

        Return the button, so that events can be associatediii0ii8i(RR(RRRRRR ((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pytcancel6s
tNextc	Cs@|o
d}nd}|i|d|iddd|||S(sAdd a Next button with a given title, the tab-next button,
        its name in the Control table, possibly initially disabled.

        Return the button, so that events can be associatediiiii8i(RR(RRRRRR ((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pyRAs
c	Cs:|i|t|i|d|idddd||S(sAdd a button with a given title, the tab-next button,
        its name in the Control table, giving its x position; the
        y-position is aligned with the other buttons.

        Return the button, so that events can be associatediii8ii(RtintRR(RRRRtxpos((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pytxbuttonLs(	t__name__t
__module__t__doc__RRR!R#RR'(((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pyRs	
	t	bdist_msicBseZdZdedfddddfdedd	fd
ddfd
ddfdddfdedfdedfdedfg	Zdd
d
dgZdZdZdZdZ	dZ
dZdZd Z
RS(!s7create a Microsoft Installer (.msi) binary distributions
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 ins
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 distributioncCsUd|_d|_d|_d|_d|_d|_d|_d|_d|_	dS(Ni(
tNonet	bdist_dirt	keep_temptno_target_compiletno_target_optimizettarget_versiontdist_dirt
skip_buildtinstall_scripttpre_install_script(R((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pytinitialize_optionsus								cCs'|idjo.|idi}tii|d|_nt}|ioC|i	o4|i
io$|i|jotd|fqn
||_|i
dd|io
tdn|ioLxI|i
iD]'}|itii|joPqqWtd|ind|_dS(NtbdisttmsisMtarget version can only be %s, or the '--skip_build' option must be specifiedR6s5the pre-install-script feature is not yet implementeds(install_script '%s' not found in scripts(sdist_dirsdist_dir(R1R0tget_finalized_commandt
bdist_basetostpathtjoinRR5R7tdistributionthas_ext_modulesRtset_undefined_optionsR9R8tscriptstbasenametinstall_script_key(RR>t
short_versiontscript((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pytfinalize_optionss.	
	



	cCs}|ip|idn|iddd}|i|_|i|_d|_|id}d|_d|_|ii	o}|i
}|p(|ip
tdti
dd!}nd	t|f}|id}tii|id
||_ntid|i|itiidtii|id|itid=|i|i|ii}|i|}tii|}tii|oti |n|ii!}|i"}	|	p
|i#}	n|	p
d
}	n|i$}
dt%|
i
}d|i
|iif}t&i'|t(|t&i)||	|_*t&i+|i*t,d|
fg}
|i-p|i.}|o|
i/d|fn|i0o|
i/d|i0fn|
ot1|i*d|
n|i2|i3|i4|i5|i*i6t7|ido#|ii8i/d|i
|fn|i9pt:|id|i;ndS(Ntbuildtinstalltreinit_subcommandsiitinstall_libs Should have already checked thisis.%s-%stlibsinstalling to %stPURELIBtUNKNOWNs%d.%d.%dsPython %s %stDistVersiont
ARPCONTACTtARPURLINFOABOUTtPropertyt
dist_filesR+tdry_run(<R7trun_commandtreinitialize_commandR1tprefixtwarn_dirtcompiletoptimizeRBRCR5tAssertionErrortsystversionRR=R?R@RAt
build_baset	build_libRtinfotensure_finalizedtinserttruntmkpathR6tget_fullnametget_installer_filenametabspathtexiststunlinktmetadatatauthort
maintainertget_versionRtmsilibt
init_databaseRtgen_uuidtdbt
add_tablesRtauthor_emailtmaintainer_emailtappendturlR
tadd_find_pythont	add_filestadd_scriptstadd_uitCommitthasattrRVR2RRW(RRLRNR5tplat_specifierRKtfullnametinstaller_nameRmRnR`tsversiontproduct_nametpropstemail((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pyRfsx
				
%

	

	





#
c
Cs|i}tid}t|dddddd}|itii|i}t	||d|dd}|i|g}x|o|i}xti
|iD]}tii|i|}	tii|	o?t	|||||d	|i||f}
|i|
q|i|}||ijo,|iotd
|nd||_qqWqW|i|dS(Nt	distfilestdefaultsDefault Featuret
Everythingit	directoryt	TARGETDIRt	SourceDirs%s|%ssMultiple files with name %ss[#%s](RtRqtCABRtset_currentR?R@RjR1R
R0R~tpoptlistdirtabsoluteRAtisdirt
make_shortRxtadd_fileR8RGRtcommit(RRttcabtftrootdirtrootttodotdirtfiletafiletnewdirtkey((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pyR{s.	

	.
c
Csd|i}t|iddd|ddfdd|ddfgt|idd d!gt|id
dd"ddfdd#ddfdd$ddfdd%ddfgt|idd&d'd(d)gt|idd*d+d,d-gdS(.s8Adds code to the installer to compute the location of Python.
        Properties PYTHON.MACHINE, PYTHON.USER, PYTHONDIR and PYTHON will be set
        in both the execute and UI sequences; PYTHONDIR will be set from
        PYTHON.USER if defined, else from PYTHON.MACHINE.
        PYTHON is PYTHONDIR\python.exes)SOFTWARE\Python\PythonCore\%s\InstallPatht
RegLocatorspython.machineispython.userit	AppSearchsPYTHON.MACHINEsPYTHON.USERtCustomActiontPythonFromMachinei3it	PYTHONDIRs[PYTHON.MACHINE]tPythonFromUsers
[PYTHON.USER]t	PythonExetPYTHONs[PYTHONDIR]\python.exetInitialTargetDirRs[PYTHONDIR]tInstallExecuteSequenceiiisTARGETDIR=""itInstallUISequenceN(sPYTHON.MACHINEspython.machine(sPYTHON.USERspython.useri3i3i3i3(RsPYTHON.MACHINEi(RsPYTHON.USERi(RNi(RsTARGETDIR=""i(RsPYTHON.MACHINEi(RsPYTHON.USERi(RNi(RsTARGETDIR=""i(R5R
RtR0(Rtinstall_path((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pyRzs,


cCs|io?t|idddd|ifgt|iddgn|iotii|id}t	|d	}|i
d
|i
t	|ii|it|iddt
i|fgt|iddgt|iddgndS(NRR8i2RRs
NOT Installedispreinstall.batRsrem ="""
%1 %0
exit
"""
tBinaryt
PreInstallii(sinstall_scripts
NOT Installedi(RiRN(Rs
NOT Installedi(R8R
RtRGR9R?R@RAR1topentwritetreadtcloseRqRR0(RtscriptfnR((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pyR|.s"

	


cCs|i}d}}d}d}d}d}d}d}	t|dddddddgt|dddddgt|d dddddgt|d/tit|d0tit|d1||||||d2d2d2}
|
id3|
id4d2d5d|
i	d6d7d5d|
id8d9d:d;d<d=d>|
id?d9d@d;dAd=dB|
i
d2d6dCd2}|idDdEt|dF||||||d2d2d2}|idG|id4d2d5d|i	d6d7d5d|id8d9d:d;d<d=dH|id?d9d@d;dAd=dB|i
d2d6dCd2}|idDdEt|dI||||||d2d2d2}
|
idJ|
id4d2d5d|
i	d6d7d5d|
idKd9dLd;dAd=dB|
i
d2d6dCd2}|idDdMt|dN||||dO|dPdPdPdQt}|idRd9dSdTd9d=dU|idKdAdVdWdAd=dX|idYdAdZd[ddd\|i
d]d^dAd_d[d`dadbddd|idEdcdCdE}|idDdE|i
dcdPdCdc}|idDdc|i	dPdEdCdP}|idDdPt|dddd[ddde|dfdd}|idfdddWdgddh|ididjdkdldmddndidDdo|idpdqdkdldmddrdidDds|idtddkdldmddudidDdv|idwdxdkdldmdd6didDdy|idzdldkdldmddcdidDd{|id|d}dkdldmdd~didDd|idddkdldmddPdidDdt|dddddd|dndndn}|idYdgd9dddd|idrdkdddddrdn}|idDdE|idnddddddndr}|idDdMt|ddddd||dMdMdM}|idYdgd9dddd|idMddddddMd}|idDdEt|d!||||||d6d6d6}|idKd9d:d;dd=d|id|id/d9dd;dAd=d}|id/dY|idd9dd;dd=d}|iddY|id7dd5d|i
ddd5d|i	d6d}|iddt|d'||||||ddd6}|idtid d}|idd9ddddd||id4dd5d|i
dd6}|idddd|idddd|idDdMdd|i	d6d}|idd|i
ddd9d:dd<ddddd|i
ddd9dddddddd|i
ddd9dddddddd|iddd:ddddd}|idd|iddd:ddddd}|iddt|d||||||ddddQt}|idRd9dSdTd9d=d|idKdAdAdWdAd=d|idYdAdd[ddd|i
dddAdd[dddddd|idd~ddidDdMt|d$||||||ddd6}|id|idd9ddddddhd	}|idddddAd|idddddAd|id7dd5d|i
dd6}|idddd|idDdMdd|i	d6d}|iddt|d-||||||d6d6d6dQt}|idRdAd9dTd9d=d|idYdddddd|idddddAdd|id/d:d|d:dAdd}|id/dY|i
ddddjddddddd}|idd|id4dd5t|i
dd6d5t|i	d6d7iddt|d*||||||ddd6}|id|idd9dd[dxdd|idd9dd[ddddhd	}|iddddTdd|iddddTdd|id4dd5t|i
d2d6}|idddd|iddddS|idddda|idddd|idddd|idddd|idddd|idddd|idDdMddA|i	d6didddS(Ni2iri,s[ProductName] Setupiii RUt
DefaultUIFonttDlgFont8tErrorDialogtErrorDlgt	Progress1tInstallt	Progress2tinstallstMaintenanceForm_ActiontRepairt
WhichUserstALLt	TextStyletTahomai	itDlgFontBold8it
VerdanaBold10tVerdanai
tVerdanaRed9iRt
PrepareDlgs(Not Privileged or Windows9x or Installedit
WhichUsersDlgs.Privileged and not Windows9x and not InstalleditSelectDirectoryDlgs
Not InstalleditMaintenanceTypeDlgs,Installed AND NOT RESUME AND NOT PreselecteditProgressDlgit
ActionTexttUITextt
FatalErrortFinishs)[ProductName] Installer ended prematurelys< BackRR"RtDescription1iiFi@iPis[ProductName] setup ended prematurely because of an error.  Your system has not been modified.  To install this program at a later time, please run the installation again.tDescription2iis.Click the Finish button to exit the Installer.Rt	EndDialogtExittUserExits'[ProductName] Installer was interrupteds[ProductName] setup was interrupted.  Your system has not been modified.  To install this program at a later time, please run the installation again.t
ExitDialogs&Completing the [ProductName] InstallertDescriptionitReturnt
FilesInUseitRetrytbitmapRiis{\DlgFontBold8}Files in Useiis8Some files that need to be updated are currently in use.tTexti7iJsThe following applications are using files that need to be updated by this setup. Close these applications and then click Retry to continue the installation or Cancel to exit it.tListtListBoxikiitFileInUseProcesstIgnoreieit	ErrorTexti0ttNixiHiQitNotErrorNotYitYestErrorYestAtAbortt
ErrorAborttCi*tErrorCanceltItErrorIgnoretOitOktErrorOktRit
ErrorRetryt	CancelDlgiiUiis;Are you sure you want to cancel [ProductName] installation?i9i8iitWaitForCostingDlgsRPlease wait while the installer finishes determining your disk space requirements.ifi(sOPlease wait while the Installer prepares to guide you through the installation.s&Welcome to the [ProductName] InstallerinsPondering...t
ActionDataiR$tSpawnDialogsSelect Destination Directoryt tHints@The destination directory should contain a Python %sinstallationsNext >t
SetTargetPathRtorderingtSpawnWaitDialogitDirectoryComboiit
DirectoryListiZi4itPathEditii2itUpitDirectoryListUpt0tNewDiriDtNewtDirectoryListNewtDiskCostDlgtOKs&{\DlgFontBold8}Disk Space RequirementssFThe disk space required for the installation of the selected features.i5i<sThe highlighted volumes (if any) do not have enough disk space available for the currently selected features.  You can either remove some files from the highlighted volumes, or choose to install less features onto local drive(s), or select different destination drive(s).t
VolumeListtVolumeCostListidiis{120}{70}{70}{70}{70}g?tAdminInstallsGSelect whether to install [ProductName] for all users of this computer.isInstall for all userstJUSTMEisInstall just for mes
[ALLUSERS]t1sWhichUsers="ALL"s({\DlgFontBold8}[Progress1] [ProductName]i#iAsYPlease wait while the Installer [Progress2] [ProductName]. This may take several minutes.tStatusLabelsStatus:tProgressBaris
Progress donetSetProgresstProgresss)Welcome to the [ProductName] Setup WizardtBodyTexti?s:Select whether you want to repair or remove [ProductName].tRepairRadioGroupils&Repair [ProductName]tRemovei$sRe&move [ProductName]s[REINSTALL]sMaintenanceForm_Action="Repair"s[Progress1]t	Repairings[Progress2]trepairst	Reinstalls[REMOVE]sMaintenanceForm_Action="Remove"itRemovingitremovesi
is MaintenanceForm_Action<>"Change"(RR(RR(RR(RR(RR(RR(RRi	Ni(RRiNi(RRi
Ni(RRi	ii(Rs(Not Privileged or Windows9x or Installedi(Rs.Privileged and not Windows9x and not Installedi(Rs
Not Installedi(Rs,Installed AND NOT RESUME AND NOT Preselectedi(RNi(RtR
R0R	RRRRR!R#RteventtFalsetcontrolRRtmappingR_R`R't
radiogrouptadd(RRttxtyRRRtmodaltmodelessttrack_disk_spacetfatalR-t	user_exittexit_dialogtinuseterrorR#tcostingtpreptseldlgR`tcostt
whichuserstgtprogresstmaint((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pyR}Ls	
	
	
	



	
	.......$$$
!!

+$$"

%
cCs)tii|id||if}|S(Ns%s.win32-py%s.msi(R?R@RAR6R5(RRR((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pyRizs(R(R)tdescriptionR0tuser_optionstboolean_optionsR:RJRfR{RzR|R}Ri(((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pyR+Ts@					W				/(R*R_R?tstringtdistutils.coreRtdistutils.utilRtdistutils.dir_utilRtdistutils.sysconfigRtdistutils.versionRtdistutils.errorsRt	distutilsRRqRRR	R
RRR
RR+(((s7/usr/local/lib/python2.5/distutils/command/bdist_msi.pys<module>s$">

Man Man