HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, 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
Upload Files
File: //usr/lib/python3.5/distutils/command/__pycache__/install.cpython-35.pyc


Fao@sdZddlZddlZddlmZddlmZddlmZddl	m
Z
ddlmZddl
mZdd	lmZmZmZdd
lmZddlmZddlmZdd
lmZdZddddddddddiZdddddddddddiddddddd dd!dd"id#dd$dd%dd&ddddid'dd(dd(dd)ddddid*eiZerdd+dd+dd,dd-dd.ied/<dd+dd+dd0dd1dd.ied2<d5ZGd3d4d4eZdS)6zFdistutils.command.install

Implements the Distutils 'install' command.N)log)Command)DEBUG)get_config_vars)DistutilsPlatformError)
write_file)convert_path
subst_varschange_root)get_platform)DistutilsOptionError)	USER_BASE)	USER_SITETpurelibz$base/Lib/site-packagesplatlibheadersz$base/Include/$dist_namescriptsz
$base/Scriptsdataz$baseunix_prefixz/$base/lib/python$py_version_short/site-packagesz3$platbase/lib/python$py_version_short/site-packagesz9$base/include/python$py_version_short$abiflags/$dist_namez	$base/bin
unix_localz5$base/local/lib/python$py_version_short/dist-packagesz9$platbase/local/lib/python$py_version_short/dist-packagesz6$base/local/include/python$py_version_short/$dist_namez$base/local/binz$base/local
deb_systemz$base/lib/python3/dist-packagesz#$platbase/lib/python3/dist-packagesz0$base/include/python$py_version_short/$dist_name	unix_homez$base/lib/pythonz$base/include/python/$dist_namentz	$usersitez4$userbase/Python$py_version_nodot/Include/$dist_namez)$userbase/Python$py_version_nodot/Scriptsz	$userbaseZnt_userz=$userbase/include/python$py_version_short$abiflags/$dist_namez
$userbase/bin	unix_userc@seZdZdZdadbdcdddddd
fdedfdgddddfdhdidjdkdldmdndodpdqgZdd%d(gZerejd.dd/efejd.d diZ	d0d1Z
d2d3Zd4d5Zd6d7Z
d8d9Zd:d;Zd<d=Zd>d?Zd@dAZdBdCZdDdEZdFdGZdHdIZdJdKZdLdMZdNdOZdPdQZdRdSZdTdUZdVdWZdXdYZdZefd[efd\efd]efd^d_d`fgZdS)rinstallz'install everything from build directoryprefix=Ninstallation prefixexec-prefix=.(Unix only) prefix for platform-specific fileshome=+(Unix only) home directory to install under
install-base=;base installation directory (instead of --prefix or --home)zinstall-platbase=z8base installation directory for platform-specific files z$(instead of --exec-prefix or --home)root=<install everything relative to this alternate root directoryinstall-purelib=;installation directory for pure Python module distributionsinstall-platlib=8installation directory for non-pure module distributionszinstall-lib=z4installation directory for all module distributions z3(overrides --install-purelib and --install-platlib)install-headers=(installation directory for C/C++ headersinstall-scripts=)installation directory for Python scripts
install-data=%installation directory for data filescompileccompile .py to .pyc [default]
no-compiledon't compile .py files	optimize=Olalso compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0]forcef1force installation (overwrite any existing files)
skip-build2skip rebuilding everything (for testing/debugging)record=3filename in which to record list of installed filesinstall-layout=7installation layout to choose (known values: deb, unix)userz!install in user site-package '%s'cCsd|_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|_d|_dS)zInitializes options.Nr)prefixexec_prefixhomer@
prefix_optioninstall_baseinstall_platbaserootinstall_purelibinstall_platlibinstall_headersinstall_libinstall_scriptsinstall_datar
install_userbaserinstall_usersiteinstall_layout	multiarchr/optimize
extra_pathinstall_path_filer7
skip_buildwarn_dir
build_base	build_librecord)selfr\//usr/lib/python3.5/distutils/command/install.pyinitialize_optionss8																				
							zinstall.initialize_optionscCsr|js|js|jr=|js-|jr=tdd|jrd|jsX|jrdtd|jr|js|js|js|js|jrtdtjdkr|jr|j	dd|_|j
dtjdkr|jn
|j|j
d	t
jjd
}tdd\}}y
t
j}Wntk
rcd
}YnXd|jjd|jjd|jjd|d|d
dd|d
|dd|d|d|d|d|i|_tr|j|jd<|j|jd<|j|j
d|j|jd<|j|jd<trjd
dlm}td||j|j|j
d |jr|j |j!dkr|jj"r|j#|_!n|j$|_!|j%d!d"d#d$d%d&dd|j&|j!|_'tj(j)|j!|j*|_!|j+dk	rN|j,d'd!d"d#d$d%d&|j
d(|j-d)d,d-dS).zFinalizes options.z.must supply either prefix/exec-prefix/home or z)install-base/install-platbase -- not bothz9must supply either home or prefix/exec-prefix -- not bothzGcan't combine user with prefix, exec_prefix/home, or install_(plat)baseposixz+exec-prefix option ignored on this platformNzpre-finalize_{unix,other}zpost-finalize_{unix,other}()rrBrCZ	dist_nameZdist_versionZ
dist_fullname
py_versionZpy_version_shortZpy_version_nodotZ
sys_prefixZsys_exec_prefixabiflagsZuserbaseZusersitezpost-expand_basedirs()baseZplatbase)pprintzconfig vars:zpost-expand_dirs()ZlibrrrrrZlibbasezafter prepending rootbuildrXrY)rXrX)rYrY).rBrCrDrFrGrr@osnamewarn	dump_dirs
finalize_unixfinalize_othersysversionsplitrrdAttributeErrordistributionZget_nameZget_versionZget_fullnameconfig_vars
HAS_USER_SITErOrPexpand_basedirsrrfprintexpand_dirscreate_home_pathrLZext_modulesrJrI
convert_pathshandle_extra_pathinstall_libbasepathjoin
extra_dirsrHchange_rootsZset_undefined_options)r[rarBrCrdrfr\r\r]finalize_optionss
	$	
	












	
	



	zinstall.finalize_optionscCsts
dSddlm}tj|dx|jD]}|d}|ddkre|dd	}||jkr|j|}|j|}t||}n|j|}t||}tjd||fq5WdS)
zDumps the list of user options.Nr)
longopt_xlate:rA=z  %s: %sr)	rZdistutils.fancy_getoptrrdebuguser_optionsnegative_opt	translategetattr)r[msgrZoptZopt_namevalr\r\r]rks

zinstall.dump_dirscCs|jdk	s|jdk	r|jdkrK|jdkrK|jdksx|jdksx|jdksx|jdkrtddS|j	r|j
dkrtd|j
|_|_|jdn	|j
dk	r|j
|_|_|jdn|j|_|jdkrj|jdk	r7tdtjjtj|_tjjtj|_n|jdkr|j|_|j|_|j|_|jr|jjdkrddl}|jd	|_|jd
q|jjdkr|jdqtd
n|jrAtjj|jdkstjtjksdtjksdtjksdtjkr|jdnHtjj|jdkrd|_|_d|_|_|jddS)z&Finalizes options for posix platforms.NzPinstall-base or install-platbase supplied, but installation scheme is incompletez$User base directory is not specifiedrrz*must not supply exec-prefix without prefixdebrZ	MULTIARCHrunixrz"unknown value for --install-layoutz
/usr/localZPYTHONUSERBASEZVIRTUAL_ENVZreal_prefixz/usrr)r)r)rFrGrLrIrJrKrMrNrr@rOr
select_schemerDrBrErCrhr|normpathrnrQlower	sysconfigZget_config_varrRbase_prefixenviron__dict__)r[rr\r\r]rlsd						zinstall.finalize_unixcCs|jrN|jdkr$td|j|_|_|jtjdn|jdk	r|j|_|_|jdnv|j	dkrtj
jtj	|_	|j	|_|_y|jtjWn%t
k
rtdtjYnXdS)z)Finalizes options for non-posix platformsNz$User base directory is not specifiedZ_userrz)I don't know how to install stuff on '%s')r@rOrrFrGrrhrirDrBr|rrnKeyError)r[r\r\r]rms"		
zinstall.finalize_othercCsRt|}xAtD]9}d|}t||dkrt||||qWdS)z=Sets the install directories by applying the install schemes.install_N)INSTALL_SCHEMESSCHEME_KEYSrsetattr)r[riZschemekeyZattrnamer\r\r]rs



zinstall.select_schemecCsx{|D]s}t||}|dk	rtjdksFtjdkrXtjj|}t||j}t|||qWdS)Nr_r)rrhrir|
expanduserr	rsr)r[Zattrsattrrr\r\r]
_expand_attrss
zinstall._expand_attrscCs|jdddgdS)zNCalls `os.path.expanduser` on install_base, install_platbase and
        root.rFrGrHN)r)r[r\r\r]ruszinstall.expand_basedirscCs#|jddddddgdS)z+Calls `os.path.expanduser` on install dirs.rIrJrLrKrMrNN)r)r[r\r\r]rwszinstall.expand_dirscGs>x7|D]/}d|}t||tt||qWdS)z!Call `convert_path` over `names`.rN)rrr)r[namesrirr\r\r]ry
s

zinstall.convert_pathscCs|jdkr|jj|_|jdk	rt|jtrT|jjd|_t|jdkr}|jd}}n3t|jdkr|j\}}ntdt|}nd}d}||_||_	dS)z4Set `path_file` and `extra_dirs` using `extra_path`.N,rArrczY'extra_path' option must be a list, tuple, or comma-separated string with 1 or 2 elementsr`)
rTrr
isinstancestrrplenrr	path_filer~)r[rr~r\r\r]rzs 		zinstall.handle_extra_pathc	GsDx=|D]5}d|}t||t|jt||qWdS)z:Change the install directories pointed by name using root.rN)rr
rHr)r[rrirr\r\r]r1s

zinstall.change_rootscCs|js
dSttjjd}x`|jjD]O\}}|j|r5tjj|r5|j	d|tj
|dq5WdS)zCreate directories under ~.N~zos.makedirs('%s', 0o700)i)r@rrhr|rrsitems
startswithisdirZdebug_printmakedirs)r[rDrir|r\r\r]rx7s	"zinstall.create_home_pathcCs|jsO|jd|jjdj}|jrO|tkrOtdx!|jD]}|j|q\W|j	r|j
|jr|j}|j
rt|j
}x2tt|D]}|||d||<qW|jt|j|fd|jttjjtj}ttjj|}tjjtjj|j}|jr|j	oq|jr||krtjd|jdS)zRuns the command.rgz"Can't install when cross-compilingNz'writing list of installed files to '%s'zmodules installed to '%s', which is not in Python's module search path (sys.path) -- you'll have to change the search path yourself)rVZrun_commandrrZget_command_objZ	plat_namerWrrget_sub_commandsrcreate_path_filerZget_outputsrHrrangeexecutermaprhr|rrnnormcaserLrUrr)r[Z
build_platcmd_nameoutputsZroot_lenZcounterZsys_pathrLr\r\r]runCs6	
	
			!		zinstall.runcCsctjj|j|jd}|jrN|jt||jgfd|n|j	d|dS)zCreates the .pth filez.pthzcreating %szpath file '%s' not createdN)
rhr|r}r{rrUrrr~rj)r[filenamer\r\r]ros		zinstall.create_path_filecCsg}xS|jD]E}|j|}x-|jD]}||kr5|j|q5WqW|jr|jr|jtjj|j	|jd|S)z.Assembles the outputs of all the sub-commands.z.pth)
rget_finalized_commandrappendrrUrhr|r}r{)r[rrcmdrr\r\r]r}szinstall.get_outputscCsCg}x6|jD](}|j|}|j|jqW|S)z*Returns the inputs of all the sub-commands)rrextend
get_inputs)r[Zinputsrrr\r\r]rs
zinstall.get_inputscCs|jjp|jjS)zSReturns true if the current distribution has any Python
        modules to install.)rrZhas_pure_modulesZhas_ext_modules)r[r\r\r]has_libszinstall.has_libcCs
|jjS)zLReturns true if the current distribution has any headers to
        install.)rrhas_headers)r[r\r\r]rszinstall.has_headerscCs
|jjS)zMReturns true if the current distribution has any scripts to.
        install.)rrhas_scripts)r[r\r\r]rszinstall.has_scriptscCs
|jjS)zJReturns true if the current distribution has any data to.
        install.)rrZhas_data_files)r[r\r\r]has_dataszinstall.has_datarLrKrMrNZinstall_egg_infocCsdS)NTr\)r[r\r\r]<lambda>szinstall.<lambda>)rNr)rNr)rNr )r!Nr")r#Nr$)r%Nr&)r'Nr()r)Nr*)r+Nr,)r-Nr.)r/r0r1)r2Nr3)r4r5r6)r7r8r9)r:Nr;)r<Nr=)r>Nr?) __name__
__module____qualname__ZdescriptionrZboolean_optionsrtrrrr^rrkrlrmrrrurwryrzrrxrrrrrrrrZsub_commandsr\r\r\r]rWs	
R>		,				r)rrrrr)__doc__rnrhZ	distutilsrZdistutils.corerZdistutils.debugrZdistutils.sysconfigrZdistutils.errorsrZdistutils.file_utilrZdistutils.utilrr	r
rrZsiter
rrtZWINDOWS_SCHEMErrrr\r\r\r]<module>st