403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/distutils/command/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/distutils/command/install.pyc
Ńņ
ÉɎJc@sŁdZddklZdZddkZddkZddkZddkTddkl	Z	ddk
lZddkl
Z
dd	klZdd
klZddklZlZlZddklZdd
klZddklZddklZeidjo-hdd6dd6dd6dd6dd6Zn*hdd6dd6dd6dd6dd6Zh	hdd6dd6dd6dd6dd6d6hdd6dd6d d6dd6dd6d!6hd"d6d"d6d#d6d$d6d%d6d&6ed'6hd"d6d"d6d(d6d)d6d%d6d*6hdd6dd6dd6dd6dd6d+6hd"d6d"d6d,d6d$d6d%d6d-6hdd6dd6dd6dd6dd6d.6hd"d6d"d6d#d6d$d6d%d6d/6Zd2Zd0e	fd1„ƒYZdS(3sFdistutils.command.install

Implements the Distutils 'install' command.i’’’’(tlogs=$Id: install.py 62788 2008-05-06 22:41:46Z christian.heimes $N(t*(tCommand(tDEBUG(tget_config_vars(tDistutilsPlatformError(t
write_file(tconvert_patht
subst_varstchange_root(tget_platform(tDistutilsOptionError(t	USER_BASE(t	USER_SITEs2.2s$basetpurelibtplatlibs$base/Include/$dist_nametheaderss
$base/Scriptstscriptstdatas$base/Lib/site-packagess/$base/lib/python$py_version_short/site-packagess3$platbase/lib/python$py_version_short/site-packagess0$base/include/python$py_version_short/$dist_names	$base/bintunix_prefixs$base/lib/pythons$base/include/python/$dist_namet	unix_homes	$usersites4$userbase/include/python$py_version_short/$dist_names
$userbase/bins	$userbaset	unix_usertnts4$userbase/Python$py_version_nodot/Include/$dist_names$userbase/Scriptstnt_usertmacs.$userbase/$py_version_short/include/$dist_nametmac_usertos2tos2_hometinstallcBs†eZdZdHdIdJddGdefdKddGdd
fdLdMdNddGddfdOdPdQdRdSdTdUdVdWgZdd%d(dgZhdd 6Zd,„Zd-„Z	d.„Z
d/„Zd0„Zd1„Z
d2„Zd3„Zd4„Zd5„Zd6„Zd7„Zd8„Zd9„Zd:„Zd;„Zd<„Zd=„Zd>„Zd?„Zd@„ZdAefdBefdCefdDefdEdF„fgZRS(Xs'install everything from build directorysprefix=sinstallation prefixsexec-prefix=s.(Unix only) prefix for platform-specific filesshome=s+(Unix only) home directory to install undertusers!install in user site-package '%s's
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|_
t|_t|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_dS(Nii(tNonetprefixtexec_prefixthomeRtinstall_basetinstall_platbasetroottinstall_purelibtinstall_platlibtinstall_headerstinstall_libtinstall_scriptstinstall_dataRtinstall_userbaseR
tinstall_usersiteRtoptimizet
extra_pathtinstall_path_fileR!t
skip_buildtwarn_dirt
build_baset	build_libtrecord(tself((s//usr/lib/python2.6/distutils/command/install.pytinitialize_options±s2																	
							cCsm|ip|ip
|io%|ip
|iotdd‚n|io!|ip
|io
td‚n|ioB|ip(|ip|ip|ip
|iotdƒ‚ntidjo(|io|i	dƒd|_qņn|idƒtidjo|iƒn|i
ƒ|idƒtitiƒd	}td
dƒ\}}h|iiƒd6|iiƒd
6|iiƒd6|d6|d	d!d6|d	|dd6|d6|d
6|d6|d6|id6|id6|_|iƒ|idƒ|i|id<|i|id<to&ddkl}dGH||iƒn|iƒ|idƒ|io|iƒn|idjo-|ii o|i!|_qĄ|i"|_n|i#dd d!d"d#d$ddƒ|i$ƒ|i|_%ti&i'|i|i(ƒ|_|i)dj	o#|i*d%dd d!d"d#d$ƒ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 bothsJcan't combine user with with prefix/exec_prefix/home or install_(plat)basetposixs+exec-prefix option ignored on this platformspre-finalize_{unix,other}spost-finalize_{unix,other}()iR$R%t	dist_nametdist_versiont
dist_fullnamet
py_versionitpy_version_shortitpy_version_nodott
sys_prefixtsys_exec_prefixtuserbasetusersitespost-expand_basedirs()tbasetplatbasei’’’’(tpprintsconfig vars:spost-expand_dirs()tlibRRRRRtlibbasesafter prepending roottbuildR7R8(s
build_bases
build_base(s	build_libs	build_lib(,R$R%R&R'R(RRtostnametwarnR#t	dump_dirst
finalize_unixtfinalize_othertstringtsplittsystversionRtdistributiontget_nametget_versiontget_fullnameR0R1tconfig_varstexpand_basedirsRRItexpand_dirstcreate_home_pathR-text_modulesR+R*t
convert_pathsthandle_extra_pathtinstall_libbasetpathtjoint
extra_dirsR)tchange_rootstset_undefined_options(R:R@R$R%RI((s//usr/lib/python2.6/distutils/command/install.pytfinalize_optionsžs~
(












	


	cCsÕtoŹddkl}|dGHx®|iD]Ÿ}|d}|ddjo|dd!}n||ijo-ti|i||ƒ}t||ƒ}n"ti||ƒ}t||ƒ}d||fGHq*WndS(Ni’’’’(t
longopt_xlatet:it=s  %s: %s(Rtdistutils.fancy_getoptRituser_optionstnegative_optRSt	translatetgetattr(R:tmsgRitopttopt_nametval((s//usr/lib/python2.6/distutils/command/install.pyRPŒs	

	cCs¾|idj	p|idj	or|idjo |idjo|idjp0|idjp |idjp|idjo
t	d‚ndS|i
oD|idjotdƒ‚n|i|_|_|i
dƒnŪ|idj	o$|i|_|_|i
dƒn§|idjoQ|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 incompletes$User base directory is not specifiedRRs*must not supply exec-prefix without prefixR(R'R#R(R-R*R+R,R.R/RRR0Rt
select_schemeR&R$R%RMRctnormpathRU(R:((s//usr/lib/python2.6/distutils/command/install.pyRQžs< 



cCs|ioK|idjotdƒ‚n|i|_|_|itidƒn®|i	dj	o$|i	|_|_|idƒnz|i
djotiit
i
ƒ|_
n|i
|_|_y|itiƒWn#tj
otdti‚nXdS(Ns$User base directory is not specifiedt_userRs)I don't know how to install stuff on '%s'(RR0R#RR'R(RuRMRNR&R$RcRvRUtKeyError(R:((s//usr/lib/python2.6/distutils/command/install.pyRRÉs"

cCsWt|}xFtD]>}d|}t||ƒdjot||||ƒqqWdS(Ntinstall_(tINSTALL_SCHEMEStSCHEME_KEYSRpR#tsetattr(R:RNtschemetkeytattrname((s//usr/lib/python2.6/distutils/command/install.pyRuās

cCsx†|D]~}t||ƒ}|dj	o\tidjptidjotii|ƒ}nt||iƒ}t|||ƒqqWdS(NR<R(	RpR#RMRNRct
expanduserRR[R|(R:tattrstattrRt((s//usr/lib/python2.6/distutils/command/install.pyt
_expand_attrsės
 cCs|idddgƒdS(NR'R(R)(Rƒ(R:((s//usr/lib/python2.6/distutils/command/install.pyR\õs	cCs#|iddddddgƒdS(NR*R+R-R,R.R/(Rƒ(R:((s//usr/lib/python2.6/distutils/command/install.pyR]śs	cGs>x7|D]/}d|}t||tt||ƒƒƒqWdS(NRy(R|RRp(R:tnamesRNR‚((s//usr/lib/python2.6/distutils/command/install.pyR`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(R3R#RWttypet
StringTypeRSRTtlenRRt	path_fileRe(R:RŠRe((s//usr/lib/python2.6/distutils/command/install.pyRa	s 	c	GsDx=|D]5}d|}t||t|it||ƒƒƒqWdS(NRy(R|R	R)Rp(R:R„RNR‚((s//usr/lib/python2.6/distutils/command/install.pyRf+s
cCs”|ipdSttiidƒƒ}xf|iiƒD]U\}}|i|ƒo9tii|ƒo%|i	d|ƒti
|dƒq7q7WdS(s#Create directories under ~
        Nt~sos.makedirs('%s', 0700)iĄ(RRRMRcR€R[t	iteritemst
startswithtisdirtdebug_printtmakedirs(R:R&RNRc((s//usr/lib/python2.6/distutils/command/install.pyR^0s
$c	Cs“|ipP|idƒ|iidƒi}|io |tƒjotdƒ‚qZnx!|iƒD]}|i|ƒqgW|i	o|i
ƒn|io|iƒ}|i
oBt|i
ƒ}x0tt|ƒƒD]}|||||<qŲWn|it|i|fd|iƒnttiitiƒ}ttii|ƒ}tiitii|iƒƒ}|io9|i	o|io$||jotid|iƒndS(NRLs"Can't install when cross-compilings'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(R5trun_commandRWtget_command_objt	plat_nameR6R
Rtget_sub_commandsRŠtcreate_path_fileR9tget_outputsR)R‰txrangetexecuteRtmapRMRcRvRUtnormcaseR-R4Rtdebug(R:t
build_plattcmd_nametoutputstroot_lentcountertsys_pathR-((s//usr/lib/python2.6/distutils/command/install.pytrun=s:





	!

	cCsetii|i|idƒ}|io'|it||igfd|ƒn|i	d|ƒdS(Ns.pthscreating %sspath file '%s' not created(
RMRcRdRbRŠR4R˜RReRO(R:tfilename((s//usr/lib/python2.6/distutils/command/install.pyR•ks
	cCs£g}xX|iƒD]J}|i|ƒ}x2|iƒD]$}||jo|i|ƒq5q5WqW|io4|io*|itii|i	|idƒƒn|S(Ns.pth(
R”tget_finalized_commandR–tappendRŠR4RMRcRdRb(R:RžRtcmdR£((s//usr/lib/python2.6/distutils/command/install.pyR–xs


cCsCg}x6|iƒD](}|i|ƒ}|i|iƒƒqW|S(N(R”R¤textendt
get_inputs(R:tinputsRR¦((s//usr/lib/python2.6/distutils/command/install.pyR؉s
cCs|iiƒp
|iiƒS(sRReturn true if the current distribution has any Python
        modules to install.(RWthas_pure_modulesthas_ext_modules(R:((s//usr/lib/python2.6/distutils/command/install.pythas_lib•scCs
|iiƒS(N(RWthas_headers(R:((s//usr/lib/python2.6/distutils/command/install.pyR­›scCs
|iiƒS(N(RWthas_scripts(R:((s//usr/lib/python2.6/distutils/command/install.pyR®žscCs
|iiƒS(N(RWthas_data_files(R:((s//usr/lib/python2.6/distutils/command/install.pythas_data”sR-R,R.R/tinstall_egg_infocCstS((tTrue(R:((s//usr/lib/python2.6/distutils/command/install.pyt<lambda>«sN(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(scompileRscompile .py to .pyc [default](s
no-compileNsdon't compile .py files(s	optimize=R slalso compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0](sforceR"s1force 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__tdescriptionR#R
Rmtboolean_optionsRnR;RhRPRQRRRuRƒR\R]R`RaRfR^R¢R•R–RØR¬R­R®R°tsub_commands(((s//usr/lib/python2.6/distutils/command/install.pyRls†
	
	M	Ž		+				
					"		
	.	
										(spurelibsplatlibsheaderssscriptssdata( t__doc__t	distutilsRt__revision__RURMRSttypestdistutils.coreRtdistutils.debugRtdistutils.sysconfigRtdistutils.errorsRtdistutils.file_utilRtdistutils.utilRRR	R
RtsiteRR
RVtWINDOWS_SCHEMERzR{R(((s//usr/lib/python2.6/distutils/command/install.pyt<module>sž$



Youez - 2016 - github.com/yon3zu
LinuXploit