403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/distutils/command/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/distutils/command/install.pyc
ó
—|_c@s×dZddlmZdZddlZddlZddlZddlTddlm	Z	ddl
mZddlm
Z
dd	lmZdd
lmZddlmZmZmZddlmZdd
lmZddlmZddlmZejdkr1idd6dd6dd6dd6dd6Zn)idd6dd6dd6dd6dd6Zi	idd6dd6dd6dd6dd6d6idd6d d6d!d6d"d6d#d6d$6id%d6d&d6dd6dd6dd6d'6id(d6d(d6d)d6dd6dd6d*6id+d6d+d6d,d6d-d6d.d6d/6ed06id+d6d+d6d1d6d2d6d.d6d36idd6dd6dd6dd6dd6d46id+d6d+d6d,d6d-d6d.d6d56Zd8Zd6e	fd7„ƒYZdS(9sFdistutils.command.install

Implements the Distutils 'install' command.i’’’’(tlogs$Id$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_prefixs5$base/local/lib/python$py_version_short/dist-packagess9$platbase/local/lib/python$py_version_short/dist-packagess6$base/local/include/python$py_version_short/$dist_names$base/local/bins$base/localt
unix_locals/$base/lib/python$py_version_short/dist-packagess3$platbase/lib/python$py_version_short/dist-packagest
deb_systems$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_usertos2tos2_hometinstallcBs‰eZdZdJdKdLddIdefdMddIdd
fdNdOdPddIddfdQdRdSdTdUdVdWdXdYdZgZdd%d(dgZidd 6Zd.„Zd/„Z	d0„Z
d1„Zd2„Zd3„Z
d4„Zd5„Zd6„Zd7„Zd8„Zd9„Zd:„Zd;„Zd<„Zd=„Zd>„Zd?„Zd@„ZdA„ZdB„ZdCefdDefdEefdFefdGdH„fgZRS([s'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 filessinstall-layout=s7installation layout to choose (known values: deb, unix)cCs÷d|_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|_d|_dS(Nii(tNonetprefixtexec_prefixthomeRt
prefix_optiontinstall_basetinstall_platbasetroottinstall_purelibtinstall_platlibtinstall_headerstinstall_libtinstall_scriptstinstall_dataRtinstall_userbaseR
tinstall_usersitetinstall_layoutRtoptimizet
extra_pathtinstall_path_fileR!t
skip_buildtwarn_dirt
build_baset	build_libtrecord(tself((s//usr/lib/python2.7/distutils/command/install.pytinitialize_options“s6																			
							cCsL|js|js|jr=|js-|jr=tdd‚n|jrd|jsX|jrdtd‚n|jr©|jsš|jsš|jsš|jsš|jr©tdƒ‚ntjdkrŻ|jrŻ|j	dƒd|_qŻn|jdƒtjdkr|jƒn
|j
ƒ|jdƒtjtjƒd	}td
dƒ\}}i|jjƒd6|jjƒd
6|jjƒd6|d6|d	d!d6|d	|dd6|d6|d
6|d6|d6|jd6|jd6|_|jƒ|jdƒ|j|jd<|j|jd<tr;ddlm}dGH||jƒn|jƒ|jdƒ|jrh|jƒn|jdkr”|jj r’|j!|_q”|j"|_n|j#dd d!d"d#d$ddƒ|j$ƒ|j|_%tj&j'|j|j(ƒ|_|j)dk	r(|j*d%dd d!d"d#d$ƒn|jd&ƒ|j+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 roottbuildR9R:(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_fullnameR1R2tconfig_varstexpand_basedirsRRKtexpand_dirstcreate_home_pathR.text_modulesR,R+t
convert_pathsthandle_extra_pathtinstall_libbasetpathtjoint
extra_dirsR*tchange_rootstset_undefined_options(R<RBR$R%RK((s//usr/lib/python2.7/distutils/command/install.pytfinalize_optionss~
	$	










	
	


	cCsĻtrĖddlm}|dGHx©|jD]›}|d}|ddkrY|dd!}n||jkr”tj|j||ƒ}t||ƒ}n!tj||ƒ}t||ƒ}d||fGHq)WndS(Ni’’’’(t
longopt_xlatet:it=s  %s: %s(Rtdistutils.fancy_getoptRktuser_optionstnegative_optRUt	translatetgetattr(R<tmsgRktopttopt_nametval((s//usr/lib/python2.7/distutils/command/install.pyRR“s	
	cCs“|jdk	s|jdk	rˆ|jdkrK|jdkrK|jdksx|jdksx|jdksx|jdkr„t	d‚ndS|j
rŅ|jdkrÆtdƒ‚n|j|_|_|j
dƒn½|jdk	r|j|_|_|j
dƒn‹|j|_|jdkrm|jdk	r:t	d‚ntjjtjƒ|_tjjtjƒ|_n|jdkr‹|j|_n|j|_|j|_|jr|jjƒdkrŃ|j
dƒq|jjƒdkrö|j
d
ƒqt	dƒ‚nŠ|jr)tjj|jƒdksGd
tjksGdtjkrW|j
d
ƒn8tjj|jƒdkr‚|j
dƒn
|j
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 prefixtdebRR>tunixRs"unknown value for --install-layouts
/usr/localtPYTHONUSERBASEtreal_prefixR(Rw(sposixRx(R(R#R)R.R+R,R-R/R0RRR1Rt
select_schemeR&R$R'R%RORetnormpathRWR3tlowertenviront__dict__(R<((s//usr/lib/python2.7/distutils/command/install.pyRS„sX				$cCsü|jrQ|jdkr'tdƒ‚n|j|_|_|jtjdƒn§|j	dk	rƒ|j	|_|_|jdƒnu|j
dkr­tjjt
j
ƒ|_
n|j
|_|_y|jtjƒWn!tk
r÷tdtj‚nXdS(Ns$User base directory is not specifiedt_userRs)I don't know how to install stuff on '%s'(RR1R#RR(R)R{RORPR&R$ReR|RWtKeyError(R<((s//usr/lib/python2.7/distutils/command/install.pyRTįs"	
cCsUt|}xDtD]<}d|}t||ƒdkrt||||ƒqqWdS(Ntinstall_(tINSTALL_SCHEMEStSCHEME_KEYSRrR#tsetattr(R<RPtschemetkeytattrname((s//usr/lib/python2.7/distutils/command/install.pyR{śs



cCsˆx|D]y}t||ƒ}|dk	rtjdksFtjdkr[tjj|ƒ}nt||jƒ}t|||ƒqqWdS(NR>R(	RrR#RORPRet
expanduserRR]R…(R<tattrstattrRv((s//usr/lib/python2.7/distutils/command/install.pyt
_expand_attrss
cCs|jdddgƒdS(NR(R)R*(RŒ(R<((s//usr/lib/python2.7/distutils/command/install.pyR^
s	cCs#|jddddddgƒdS(NR+R,R.R-R/R0(RŒ(R<((s//usr/lib/python2.7/distutils/command/install.pyR_s	cGs>x7|D]/}d|}t||tt||ƒƒƒqWdS(NR‚(R…RRr(R<tnamesRPR‹((s//usr/lib/python2.7/distutils/command/install.pyRbs

cCsź|jdkr!|jj|_n|jdk	rČt|jƒtkr`tj|jdƒ|_nt|jƒdkr‰|jd}}n0t|jƒdkr°|j\}}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(R5R#RYttypet
StringTypeRURVtlenRRt	path_fileRg(R<R“Rg((s//usr/lib/python2.7/distutils/command/install.pyRc!s 	c	GsDx=|D]5}d|}t||t|jt||ƒƒƒqWdS(NR‚(R…R	R*Rr(R<RRPR‹((s//usr/lib/python2.7/distutils/command/install.pyRhCs

cCs|js
dSttjjdƒƒ}xc|jjƒD]R\}}|j|ƒr5tjj|ƒr5|j	d|ƒtj
|dƒq5q5WdS(s#Create directories under ~
        Nt~sos.makedirs('%s', 0700)iĄ(RRROReR‰R]t	iteritemst
startswithtisdirtdebug_printtmakedirs(R<R&RPRe((s//usr/lib/python2.7/distutils/command/install.pyR`Hs	"cCs¤|jsU|jdƒ|jjdƒj}|jrU|tƒkrUtdƒ‚qUnx!|jƒD]}|j|ƒqbW|j	r|j
ƒn|jr|jƒ}|j
rīt|j
ƒ}x/tt|ƒƒD]}|||||<qĻWn|jt|j|fd|jƒnttjjtjƒ}ttjj|ƒ}tjjtjj|jƒƒ}|jr |j	oz|jr ||kr tjd|jƒndS(NRNs"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(R7trun_commandRYtget_command_objt	plat_nameR8R
Rtget_sub_commandsR“tcreate_path_fileR;tget_outputsR*R’txrangetexecuteRtmapROReR|RWtnormcaseR.R6Rtdebug(R<t
build_plattcmd_nametoutputstroot_lentcountertsys_pathR.((s//usr/lib/python2.7/distutils/command/install.pytrunUs6	
	
			!		cCsctjj|j|jdƒ}|jrN|jt||jgfd|ƒn|j	d|ƒdS(Ns.pthscreating %sspath file '%s' not created(
ROReRfRdR“R6R”RRgRQ(R<tfilename((s//usr/lib/python2.7/distutils/command/install.pyRžƒs		cCsžg}xV|jƒD]H}|j|ƒ}x0|jƒD]"}||kr5|j|ƒq5q5WqW|jrš|jrš|jtjj|j	|jdƒƒn|S(Ns.pth(
Rtget_finalized_commandRŸtappendR“R6ROReRfRd(R<R§R¦tcmdR¬((s//usr/lib/python2.7/distutils/command/install.pyRŸscCsCg}x6|jƒD](}|j|ƒ}|j|jƒƒqW|S(N(RR­textendt
get_inputs(R<tinputsR¦RÆ((s//usr/lib/python2.7/distutils/command/install.pyR±”s
cCs|jjƒp|jjƒS(sRReturn true if the current distribution has any Python
        modules to install.(RYthas_pure_modulesthas_ext_modules(R<((s//usr/lib/python2.7/distutils/command/install.pythas_lib­scCs
|jjƒS(N(RYthas_headers(R<((s//usr/lib/python2.7/distutils/command/install.pyR¶³scCs
|jjƒS(N(RYthas_scripts(R<((s//usr/lib/python2.7/distutils/command/install.pyR·¶scCs
|jjƒS(N(RYthas_data_files(R<((s//usr/lib/python2.7/distutils/command/install.pythas_data¹sR.R-R/R0tinstall_egg_infocCstS(N(tTrue(R<((s//usr/lib/python2.7/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(sinstall-layout=Ns7installation layout to choose (known values: deb, unix)(t__name__t
__module__tdescriptionR#R
Rotboolean_optionsRpR=RjRRRSRTR{RŒR^R_RbRcRhR`R«RžRŸR±RµR¶R·R¹tsub_commands(((s//usr/lib/python2.7/distutils/command/install.pyRlsŠ
	
	Q	Ž		<				
					"		
	.	
										(spurelibsplatlibsheaderssscriptssdata( t__doc__t	distutilsRt__revision__RWRORUttypestdistutils.coreRtdistutils.debugRtdistutils.sysconfigRtdistutils.errorsRtdistutils.file_utilRtdistutils.utilRRR	R
RtsiteRR
RXtWINDOWS_SCHEMERƒR„R(((s//usr/lib/python2.7/distutils/command/install.pyt<module>sž$




Youez - 2016 - github.com/yon3zu
LinuXploit