KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/lib64/python2.4/distutils/command/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.4/distutils/command/install.pyo
mò
‚=5Dc@s0dZdklZdZdkZdkZdkZdkTdkl	Z	dk
lZdkl
Z
dklZd	klZd
klZlZlZdklZdklZeid
jo7hdd<dd<dd<dd<dd<Zn4hdd<dd<dd<dd<dd<Zhdhdd<dd<dd<dd<dd<<dhdd<dd<dd<dd<dd<<d e<d!hdd<dd<dd<dd<dd<<d"hdd<dd<dd<dd<dd<<Zd%Zd#e	fd$„ƒYZdS(&sFdistutils.command.install

Implements the Distutils 'install' command.(slogs4$Id: install.py 38350 2005-01-20 19:15:39Z theller $N(t*(sCommand(sDEBUG(sget_config_vars(sDistutilsPlatformError(s
write_file(sconvert_paths
subst_varsschange_root(sDistutilsOptionError(sglobs2.2tpurelibs$basetplatlibtheaderss$base/Include/$dist_nametscriptss
$base/Scriptstdatas$base/Lib/site-packagestunix_prefixs/$base/lib/python$py_version_short/site-packagess5$platbase/lib64/python$py_version_short/site-packagess0$base/include/python$py_version_short/$dist_names	$base/bint	unix_homes$base/lib/pythons$base/lib64/pythons$base/include/python/$dist_nametnttmactos2tinstallcBs`tZdZdCdDdEdFd
dddfdGdHdIddddfdJdKdLdMdNdOdPdQdRgZdd$d'gZhdd<Zd+„Zd,„Zd-„Z	d.„Z
d/„Zd0„Zd1„Z
d2„Zd3„Zd4„Zd5„Zd6„Zd7„Zd8„Zd9„Zd:„Zd;„Zd<„Zd=„Zd>„Zd?efd@efdAefdBefgZRS(SNs'install everything from build directorysprefix=sinstallation prefixsexec-prefix=s.(Unix only) prefix for platform-specific filesshome=s+(Unix only) home directory to install unders
install-base=s;base installation directory (instead of --prefix or --home)sinstall-platbase=s8base installation directory for platform-specific files s$(instead of --exec-prefix or --home)sroot=s<install everything relative to this alternate root directorysinstall-purelib=s;installation directory for pure Python module distributionssinstall-platlib=s8installation directory for non-pure module distributionssinstall-lib=s4installation directory for all module distributions s3(overrides --install-purelib and --install-platlib)sinstall-headers=s(installation directory for C/C++ headerssinstall-scripts=s)installation directory for Python scriptss
install-data=s%installation directory for data filestcompiletcscompile .py to .pyc [default]s
no-compilesdon't compile .py filess	optimize=tOslalso compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0]tforcetfs1force installation (overwrite any existing files)s
skip-builds2skip rebuilding everything (for testing/debugging)srecord=s3filename in which to record list of installed filescCsÊd|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_dS(Nii(tNonetselftprefixtexec_prefixthometinstall_basetinstall_platbasetroottinstall_purelibtinstall_platlibtinstall_headerstinstall_libtinstall_scriptstinstall_dataRtoptimizet
extra_pathtinstall_path_fileRt
skip_buildtwarn_dirt
build_baset	build_libtrecord(R((t1/usr/lib64/python2.4/distutils/command/install.pytinitialize_optionss,														
							cCsë|ip|ip
|io%|ip
|iotdd‚n|io!|ip
|io
td‚ntidjo(|io|i	dƒd|_q¦n|idƒtidjo|iƒn|i
ƒ|idƒtitiƒd}td	d
ƒ\}}hd|iiƒ<d|iiƒ<d
|iiƒ<d|<d|dd!<d|<d	|<d|<d
|<|_|iƒ|idƒ|i|id<|i|id<to#dkl}dGH||iƒn|iƒ|idƒ|idjo-|iio|i|_qD|i |_n|i!ddddddƒ|i"ƒ|i|_#ti$i%|i|i&ƒ|_|i'dj	o#|i(dddddddƒn|id ƒ|i)d!d$d%ƒdS(&Ns.must supply either prefix/exec-prefix/home or s)install-base/install-platbase -- not boths9must supply either home or prefix/exec-prefix -- not bothtposixs+exec-prefix option ignored on this platformspre-finalize_{unix,other}spost-finalize_{unix,other}()iRRt	dist_nametdist_versiont
dist_fullnamet
py_versiontpy_version_shortit
sys_prefixtsys_exec_prefixspost-expand_basedirs()tbasetplatbase(spprintsconfig vars:spost-expand_dirs()tlibRRRRRtlibbasesafter prepending roottbuildR$R%(s
build_bases
build_base(s	build_libs	build_lib(*RRRRRRtDistutilsOptionErrortostnametwarnRt	dump_dirst
finalize_unixtfinalize_othertstringtsplittsystversionR-tget_config_varstdistributiontget_nametget_versiontget_fullnametconfig_varstexpand_basedirstDEBUGtpprinttexpand_dirsRtext_modulesRRt
convert_pathsthandle_extra_pathtinstall_libbasetpathtjoint
extra_dirsRtchange_rootstset_undefined_options(RRRIRR-((R'tfinalize_optionsÚsT2






|









	cCsÕtoÊdkl}|dGHx±|iD]¢}|d}|ddjo|dd!}n|ii	|ƒo-t
i|i||ƒ}t||ƒ}n"t
i||ƒ}t||ƒ}d||fGHq'WndS(N(s
longopt_xlatet:iiÿÿÿÿt=s  %s: %s(RHtdistutils.fancy_getoptt
longopt_xlatetmsgRtuser_optionstopttopt_nametnegative_optthas_keyR=t	translatetgetattrtval(RRYR[RaR\RX((R'R:[s
	

	cCss|idj	p|idj	ou|idjo |idjo|idjp0|idjp |idjp|i	djo
t
d‚ndSn|idj	o$|i|_|_|idƒn§|i
djoQ|idj	o
t
d‚ntiiti
ƒ|_
tiitiƒ|_n!|idjo|i
|_n|i
|_|i|_|idƒdS(NsPinstall-base or install-platbase supplied, but installation scheme is incompleteRs*must not supply exec-prefix without prefixR(RRRRRRRRRRR6Rt
select_schemeRRR7ROtnormpathR?(R((R'R;ms" `

cCs±|idj	o$|i|_|_|idƒnz|idjotii	t
iƒ|_n|i|_|_y|itiƒWn#tj
ot
dti‚nXdS(NRs)I don't know how to install stuff on '%s'(RRRRRRbRR7RORcR?R8tKeyErrortDistutilsPlatformError(R((R'R<’scCsWt|}xFtD]>}d|}t||ƒdjot	||||ƒqqWdS(Ntinstall_(
tINSTALL_SCHEMESR8tschemetSCHEME_KEYStkeytattrnameR`RRtsetattr(RR8RkRjRh((R'Rb¥s

cCs}xv|D]n}t||ƒ}|dj	oLtidjotii	|ƒ}nt
||iƒ}t|||ƒqqWdS(NR)(
tattrstattrR`RRaRR7R8ROt
expandusert
subst_varsRFRl(RRmRnRa((R't
_expand_attrs®s
cCs|idddgƒdS(NRRR(RRq(R((R'RG¸scCs#|iddddddgƒdS(NRRRRRR(RRq(R((R'RJ½scGs>x7|D]/}d|}t||tt||ƒƒƒqWdS(NRf(tnamesR8RnRlRtconvert_pathR`(RRrRnR8((R'RLÆs
cCsô|idjo|ii|_n|idj	oŸt|iƒtjoti|idƒ|_nt|iƒdjo|id}}n3t|iƒdjo|i\}}n
td‚t|ƒ}n
d}d}||_	||_
dS(Nt,iiisY'extra_path' option must be a list, tuple, or comma-separated string with 1 or 2 elementst(
RR RRBttypet
StringTypeR=R>tlent	path_fileRQR6Rs(RRQRy((R'RMÌs		c	GsDx=|D]5}d|}t||t|it||ƒƒƒqWdS(NRf(RrR8RnRlRtchange_rootRR`(RRrRnR8((R'RRîs
cCsu|ip|idƒnx!|iƒD]}|i|ƒq(W|io|iƒn|io|iƒ}|i
oBt|i
ƒ}x0t
t|ƒƒD]}|||||<q™Wn|it|i|fd|iƒnttiitiƒ}ttii|ƒ}tiitii|iƒƒ}|io9|io|io$||jotid|iƒndS(NR5s'writing list of installed files to '%s'sƒmodules installed to '%s', which is not in Python's module search path (sys.path) -- you'll have to change the search path yourself(RR"trun_commandtget_sub_commandstcmd_nameRytcreate_path_fileR&tget_outputstoutputsRRxtroot_lentxrangetcountertexecutet
write_filetmapR7RORcR?tsys_pathtnormcaseRR#R!tlogtdebug(RR‡R€RƒR}RR((R'trunös.




	!,	cCsetii|i|idƒ}|io'|it	||i
gfd|ƒn|id|ƒdS(Ns.pthscreating %sspath file '%s' not created(R7RORPRRNRytfilenameR!R„R…RQR9(RRŒ((R'R~s
	cCs£g}xX|iƒD]J}|i|ƒ}x2|iƒD]$}||jo|i|ƒq5q5WqW|i	o4|i
o*|itii
|i|i	dƒƒn|S(Ns.pth(R€RR|R}tget_finalized_commandtcmdRRŒtappendRyR!R7RORPRN(RR€RŽRŒR}((R'R)s


cCsCg}x6|iƒD](}|i|ƒ}|i|iƒƒqW|S(N(tinputsRR|R}RRŽtextendt
get_inputs(RRRŽR}((R'R’:s
cCs|iiƒp
|iiƒS(sRReturn true if the current distribution has any Python
        modules to install.N(RRBthas_pure_modulesthas_ext_modules(R((R'thas_libFscCs
|iiƒS(N(RRBthas_headers(R((R'R–LscCs
|iiƒS(N(RRBthas_scripts(R((R'R—OscCs
|iiƒS(N(RRBthas_data_files(R((R'thas_dataRsRRRR(sprefix=Nsinstallation prefix(sexec-prefix=Ns.(Unix only) prefix for platform-specific files(shome=Ns+(Unix only) home directory to install under(s
install-base=Ns;base installation directory (instead of --prefix or --home)(sroot=Ns<install everything relative to this alternate root directory(sinstall-purelib=Ns;installation directory for pure Python module distributions(sinstall-platlib=Ns8installation directory for non-pure module distributions(sinstall-headers=Ns(installation directory for C/C++ headers(sinstall-scripts=Ns)installation directory for Python scripts(s
install-data=Ns%installation directory for data files(scompileR
scompile .py to .pyc [default](s
no-compileNsdon't compile .py files(s	optimize=Rslalso compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0](sforceRs1force installation (overwrite any existing files)(s
skip-buildNs2skip rebuilding everything (for testing/debugging)(srecord=Ns3filename in which to record list of installed files(t__name__t
__module__tdescriptionRRZtboolean_optionsR]R(RTR:R;R<RbRqRGRJRLRMRRR‹R~RR’R•R–R—R™tsub_commands(((R'RMs2V;	J			%				
					"		&	
						(spurelibsplatlibsheaderssscriptssdata(t__doc__t	distutilsR‰t__revision__R?R7R=ttypestdistutils.coretCommandtdistutils.debugRHtdistutils.sysconfigRAtdistutils.errorsRetdistutils.file_utilR…tdistutils.utilRsRpRzR6tglobR@tWINDOWS_SCHEMERgRiR(RsReR¡R‰R«RªRzRpR?RAR¤RiRRHR…RgR7R6R=((R't?s$







73ç#

Anon7 - 2021