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/__pycache__/msvccompiler.cpython-35.pyc


Fa\@sdZddlZddlZddlmZmZmZmZmZddl	m
Z
mZmZddl
mZdZy@ddlZdZeZejZejZejZejZWnek
r:yLddlZddlZdZeZejZejZejZejZWnek
r5ejdYnXYnXer_ejejej ej!fZ"d	d
Z#ddZ$d
dZ%GdddZ&ddZ'ddZ(ddZ)Gddde
Z*e'dkrej+de*Z,ddl-m*Z*ddl-m&Z&dS)zdistutils.msvccompiler

Contains MSVCCompiler, an implementation of the abstract CCompiler class
for the Microsoft Visual Studio.
N)DistutilsExecErrorDistutilsPlatformErrorCompileErrorLibError	LinkError)	CCompilergen_preprocess_optionsgen_lib_options)logFTzWarning: Can't read registry to find the necessary compiler setting
Make sure that Python modules winreg, win32api or win32con are installed.cCsyt||}Wntk
r+dSYnXg}d}xDyt||}Wntk
rcPYnX|j||d7}q;W|S)zReturn list of registry keys.Nr)RegOpenKeyExRegError
RegEnumKeyappend)basekeyhandleLikr,/usr/lib/python3.5/distutils/msvccompiler.py	read_keys7s
	

rcCsyt||}Wntk
r+dSYnXi}d}xbyt||\}}}Wntk
rlPYnX|j}t||t|<|d7}q;W|S)zXReturn dict of registry keys and values.

    All names are converted to lowercase.
    Nrr)rr
RegEnumValuelowerconvert_mbcs)rrrdrnamevaluetyperrrread_valuesHs
	
r cCsGt|dd}|dk	rCy|d}Wntk
rBYnX|S)Ndecodembcs)getattrUnicodeError)sZdecrrrr]s
rc@s@eZdZddZddZddZddZd	S)

MacroExpandercCsi|_|j|dS)N)macrosload_macros)selfversionrrr__init__gs	zMacroExpander.__init__cCs@x9tD]1}t||}|r|||jd|<PqWdS)Nz$(%s))HKEYSr r')r)Zmacropathrrrrrr	set_macroks

zMacroExpander.set_macroc
Cs=d|}|jd|dd|jd|ddd}|jd|d	y9|d
krv|jd|dn|jd|d
Wn1tk
r}ztdWYdd}~XnXd}xrtD]j}yt||}Wntk
rwYnXt|d}t|d||f}	|	d|jd<qWdS)Nz%Software\Microsoft\VisualStudio\%0.1fZVCInstallDirz	\Setup\VCZ
productdirZVSInstallDirz	\Setup\VSz Software\Microsoft\.NETFrameworkZFrameworkDirZinstallrootg@ZFrameworkSDKDirzsdkinstallrootv1.1ZsdkinstallrootaPython was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.z.Software\Microsoft\NET Framework Setup\Productrz%s\%sr*z$(FrameworkVersion))	r.KeyErrorrr,rr
rr r')
r)r*ZvsbaseZnetexcprhrrrrrr(rs*


zMacroExpander.load_macroscCs6x/|jjD]\}}|j||}qW|S)N)r'itemsreplace)r)r%rvrrrsubszMacroExpander.subN)__name__
__module____qualname__r+r.r(r6rrrrr&fsr&cCsd}tjj|}|dkr(dS|t|}tj|djdd\}}t|ddd}|dkr|d7}t|ddd	}|dkrd
}|dkr||SdS)
zReturn the version of MSVC that was used to build Python.

    For Python 2.3 and up, the version number is included in
    sys.version.  For earlier versions, assume the compiler is MSVC 6.
    zMSC v.rN 
g$@r)sysr*findlensplitint)prefixrr%restZmajorVersionZminorVersionrrrget_build_versions%
rHcCsXd}tjj|}|dkr(dStjjd|}tj|t||S)zaReturn the processor architecture.

    Possible results are "Intel", "Itanium", or "AMD64".
    z bit (rIntel)r?)rAr*rBrC)rFrjrrrget_build_architecturesrLcCsFg}x9|D]1}tjj|}||kr
|j|q
W|S)znReturn a list of normalized paths with duplicates removed.

    The current order of paths is maintained.
    )osr-normpathr)pathsZ
reduced_pathsr1Znprrrnormalize_and_reduce_pathss
rPc@sseZdZdZdZiZdgZdddgZdgZdgZ	eeee	Z
d	Zd
ZdZ
dZd
ZZdZdddddZddZddddZdddddddddZdddddZdddddddddddd
ZddZd d!Zd"d#Zdd$d%Zd&d'Zd(d)d*Zd+d,ZdS)-MSVCCompilerzwConcrete class that implements an interface to Microsoft Visual C++,
       as defined by the CCompiler abstract class.Zmsvcz.cz.ccz.cppz.cxxz.rcz.mcz.resz.objz.libz.dllz%s%sz.exercCstj||||t|_t|_|jdkr|jdkrjd|_t|j|_n	d|_d|j|_	nd|jd|_	d|_
dS)	NrIzSoftware\Microsoft\VisualStudiozSoftware\Microsoft\DevstudiozVisual Studio version %szMicrosoft SDK compiler %sr:F)rr+rH_MSVCCompiler__versionrL_MSVCCompiler__arch_MSVCCompiler__rootr&_MSVCCompiler__macros_MSVCCompiler__productinitialized)r)verboseZdry_runZforcerrrr+s		zMSVCCompiler.__init__cCsg|_dtjkrfdtjkrf|jdrfd|_d|_d|_d|_d|_n|j	d|_t
|jd	krtd
|j|jd|_|jd|_|jd|_|jd|_|jd|_|j
d|j
dy5x.tjdjd
D]}|jj|q.WWntk
r]YnXt|j|_d
j|jtjd<d|_|jdkrddddddg|_dddddddg|_n9ddddddg|_dddddddg|_dddg|_|jdkrOddddg|_ndddddg|_dg|_d |_dS)!NZDISTUTILS_USE_SDKZMSSdkzcl.exezlink.exezlib.exezrc.exezmc.exer-rzxPython was built with %s, and extensions need to be built with the same version of the compiler, but it isn't installed.libZinclude;rIz/nologoz/Oxz/MDz/W3z/GXz/DNDEBUGz/Odz/MDdz/Z7z/D_DEBUGz/GS-z/DLLz/INCREMENTAL:NOrRz/INCREMENTAL:noz/DEBUGz	/pdb:NoneT)_MSVCCompiler__pathsrMenvironfind_execclinkerrZrcmcget_msvc_pathsrCrrWset_path_env_varrDrr/rPjoinZpreprocess_optionsrTcompile_optionscompile_options_debugldflags_sharedrSldflags_shared_debugZldflags_staticrX)r)r1rrr
initializesR	-				



	zMSVCCompiler.initializecCs;|dkrd}g}x|D]}tjj|\}}tjj|d}|tjj|d}||jkrtd||rtjj|}||jkr|j	tjj
|||jq||jkr|j	tjj
|||jq|j	tjj
|||j
qW|S)NrkrzDon't know how to compile %s)rMr-splitext
splitdriveisabssrc_extensionsrbasename_rc_extensionsrre
res_extension_mc_extensions
obj_extension)r)Zsource_filenamesZ	strip_dir
output_dirZ	obj_namesZsrc_namerextrrrobject_filenames8s(
zMSVCCompiler.object_filenamesNc	Cs|js|j|j||||||}	|	\}}
}}}|pOg}
|
jd|rx|
j|jn|
j|jx|
D]}y||\}}Wntk
rwYnX|rtj	j
|}||jkrd|}n||jkrd|}n||j
kr|}d|}y)|j|jg||g|gWqtk
r}zt|WYdd}~XqXqn||jkrtj	j|}tj	j|}y|j|jgd|d|g|gtj	jtj	j|\}}tj	j||d}|j|jgd|g|gWqtk
r}zt|WYdd}~XqXqntd||fd	|}y-|j|jg|
|||g|Wqtk
r}zt|WYdd}~XqXqW|
S)
Nz/cz/Tcz/Tpz/foz-hz-rz.rcz"Don't know how to compile %s to %sz/Fo)rXrjZ_setup_compilerextendrgrfr/rMr-abspath
_c_extensions_cpp_extensionsrqspawnrarrrsdirnamerbrlrprer_)r)Zsourcesrur'Zinclude_dirsdebug
extra_preargsextra_postargsZdependsZcompile_infoobjectsZpp_optsZbuildZcompile_optsobjsrcrvZ	input_optZ
output_optmsgZh_dirZrc_dirr_Zrc_filerrrcompileWsj	






#$$#
#zMSVCCompiler.compilec	Cs|js|j|j||\}}|j|d|}|j||r|d|g}|riy|j|jg|Wqtk
r}zt|WYdd}~XqXnt	j
d|dS)Nruz/OUT:zskipping %s (up-to-date))rXrj_fix_object_argslibrary_filename
_need_linkr|rZrrr
r~)	r)rZoutput_libnamerur~target_langoutput_filenameZlib_argsrrrrcreate_static_libs	
	"zMSVCCompiler.create_static_libcCsr|js|j|j||\}}|j|||}|\}}}|rl|jdt|t||||}|dk	rtjj	||}|j
||r^|tjkr|	r|j
dd}q|jdd}n|	r|j
}n	|j}g}x%|p"gD]}|jd|q#W||||d|g}|dk	rtjjtjj|\}}tjj	tjj|d|j|}|jd||
r|
|dd<|r|j||jtjj|y|j|jg|Wqntk
rZ}zt|WYdd}~XqnXntjd|dS)Nz5I don't know what to do with 'runtime_library_dirs': rz/EXPORT:z/OUT:rz/IMPLIB:zskipping %s (up-to-date))rXrjrZ
_fix_lib_argswarnstrr	rMr-rerrZ
EXECUTABLErirhrrlrpr}rrxZmkpathr|r`rrr
r~)r)Ztarget_descrrruZ	librariesZlibrary_dirsZruntime_library_dirsZexport_symbolsr~rrZ
build_temprZ
fixed_argsZlib_optsZldflagsZexport_optsZsymZld_argsZdll_nameZdll_extZimplib_filerrrrlinksV	
						
"zMSVCCompiler.linkcCsd|S)Nz	/LIBPATH:r)r)dirrrrlibrary_dir_optionszMSVCCompiler.library_dir_optioncCstddS)Nz<don't know how to set runtime library search path for MSVC++)r)r)rrrrruntime_library_dir_optionsz'MSVCCompiler.runtime_library_dir_optioncCs
|j|S)N)r)r)rZrrrlibrary_optionszMSVCCompiler.library_optioncCs|r|d|g}n	|g}xW|D]K}xB|D]:}tjj||j|}tjj|r6|Sq6Wq)WdSdS)NZ_d)rMr-rerexists)r)dirsrZr~Z	try_namesrrZlibfilerrrfind_library_file#s	

zMSVCCompiler.find_library_filecCsxH|jD]=}tjjtjj||}tjj|r
|Sq
WxUtjdjdD]=}tjjtjj||}tjj|rb|SqbW|S)aReturn path to an MSVC executable program.

        Tries to find the program in several places: first, one of the
        MSVC program search paths from the registry; next, the directories
        in the PATH environment variable.  If any of those work, return an
        absolute path that is known to exist.  If none of them work, just
        return the original program name, 'exe'.
        ZPathr[)r\rMr-reryisfiler]rD)r)Zexer1fnrrrr^5s	!!zMSVCCompiler.find_exeZx86cCsts
gS|d}|jdkr<d|j|jf}nd|j|f}x`tD]X}t||}|rV|jdkr|jj||jdS||jdSqVW|jdkrx8tD]0}t|d|jdk	r|jd	PqWgS)
zGet a list of devstudio directories (include, lib or path).

        Return a list of strings.  The list will be empty if unable to
        access the registry or appropriate registry keys not found.
        z dirsrRz6%s\%0.1f\VC\VC_OBJECTS_PLATFORM_INFO\Win32\Directoriesz?%s\6.0\Build System\Components\Platforms\Win32 (%s)\Directoriesr[r:z%s\6.0NzIt seems you have Visual Studio 6 installed, but the expected registry settings are not present.
You must at least run the Visual Studio GUI once so that these entries are created.)	
_can_read_regrSrUr,r rVr6rDr)r)r-platformrrrrrrrcKs(



zMSVCCompiler.get_msvc_pathscCsM|dkr|jd}n|j|}|rIdj|tj|<dS)zSet environment variable 'name' to an MSVC path type value.

        This is equivalent to a SET command prior to execution of spawned
        commands.
        rZZlibraryr[N)rcrerMr])r)rr1rrrrdos
zMSVCCompiler.set_path_env_var)r7r8r9__doc__Z
compiler_typeZexecutablesrzr{rqrsrorrrtZstatic_lib_extensionZshared_lib_extensionZstatic_lib_formatZshared_lib_formatZ
exe_extensionr+rjrwrrrrrrrr^rcrdrrrrrQsP			
BVF$rQg @z3Importing new compiler from distutils.msvc9compiler)rQ)r&).rrArMZdistutils.errorsrrrrrZdistutils.ccompilerrrr	Z	distutilsr
rwinregZhkey_modZ	OpenKeyExrZEnumKeyrZ	EnumValuererrorr
ImportErrorZwin32apiZwin32coninfoZ
HKEY_USERSHKEY_CURRENT_USERHKEY_LOCAL_MACHINEZHKEY_CLASSES_ROOTr,rr rr&rHrLrPrQr~ZOldMSVCCompilerZdistutils.msvc9compilerrrrr<module>sZ(			

			



	-