%PDF- %PDF-
Mini Shell

Mini Shell

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

�
��]c@s}ddlZddlZyeWnek
r9eZnXd�Zd�Zd�Zd�Zd�Z	d�Z
d�ZdS(	i����NcCs ddlm}||��dS(Ni����(tDistutilsSetupError(tdistutils.errorsR(tmsgR((sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pyterror
scBsKe|��}|j�}WdQX|d7}e||d�}|||UdS(Ns
texec(topentreadtcompile(tfilenametglobtftsrctcode((sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pytexecfiles

c
Cs/ddlm}t|t�s<tdt|�jf�nt|�}y|jd�\}}Wn"t	k
r�td|f�nXt
jj|�s�d}|j
dd�d	}t
jj|�r�d
|d|f}ntd||f�nidd
6|d6}t||�y||}Wn%tk
rKtd||f�nXt||�sg|�}nt||�s�td|t|�jf�nt|d�s�td|f�n|j\}	}
}}|jr�|j�}|j|�n|
dkrt|||	�nt|||	|
||�dS(Ni����(tFFIsEargument to 'cffi_modules=...' must be a str or a list of str, not %rt:s3%r must be of the form 'path/build.py:ffi_variable'tt.t/s.pys (rewrite cffi_modules to [%r])s#%r does not name an existing file%st__cffi__t__name__t__file__s!%r: object %r not found in modules"%r is not an FFI instance (got %r)t_assigned_sources*%r: the set_source() method was not called(tcffi.apiRt
isinstancet
basestringRttypeRtstrtsplitt
ValueErrortostpathtexiststreplaceR
tKeyErrorthasattrRt_windows_unicodetcopyt_apply_windows_unicodetNonet_add_py_modulet
_add_c_module(
tdisttmod_specRtbuild_file_nametffi_var_nametextt	rewrittentmod_varstffitmodule_nametsourcetsource_extensiontkwds((sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pytadd_cffi_modulesL


			cCs�d|kr�ttd�r�tjdkr�ddl}y9t|jjd�d�}|dkrot|d<nWq�tk
r�t|d<q�Xn|S(	s
    Add py_limited_api to kwds if setuptools >= 26 is in use.
    Do not alter the setting if it already exists.
    Setuptools takes care of ignoring the flag on Python 2 and PyPy.

    CPython itself should ignore the flag in a debugging version
    (by not listing .abi3.so in the extensions it supports), but
    it doesn't so far, creating troubles.  That's why we check
    for "not hasattr(sys, 'gettotalrefcount')" (the 2.7 compatible equivalent
    of 'd' not in sys.abiflags). (http://bugs.python.org/issue28401)

    On Windows, with CPython <= 3.4, it's better not to use py_limited_api
    because virtualenv *still* doesn't copy PYTHON3.DLL on these versions.
    For now we'll skip py_limited_api on all Windows versions to avoid an
    inconsistent mess.
    tpy_limited_apitgettotalrefcounttwin32i����NRii(	R#tsystplatformt
setuptoolstintt__version__t	partitiontTrueR(t	ExtensionR5R<tsetuptools_major_version((sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pyt_set_py_limited_apiIs
c
	s3ddlm}ddlm}ddlm�ddlm�ddlm	�dg}|j
|jdg��t||�}|d	�d||��d��������	fd
��|jdkr�g|_n|jj��|jjd|��d�f���fd
��Y}	|	|jd<dS(Ni����(RA(t	build_ext(tmkpath(tlog(t
recompilers$PLACEHOLDERtsourcestnamecs�tjj|���}�jd|��|�|dk	rP|���n�j���|�}|s~�jd�n|S(Nsgenerating cffi module %rsalready up-to-date(RRtjointinfoR't
make_c_source(ttmpdirtpre_runtc_filetupdated(R.R1RFRER2RGR3R4(sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pytmake_modus
RDtbuild_ext_make_modcseZ���fd�ZRS(csR�jddkrAt|dd�}�|j|��jd<n�j|�dS(Nis$PLACEHOLDERRN(RHtgetattrR't
build_temptrun(tselfRN(t
base_classR.RQ(sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pyRU�s(Rt
__module__RU((RWR.RQ(sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pyRR�s(tdistutils.coreRAtsetuptools.command.build_extRDtdistutils.dir_utilREt	distutilsRFtcffiRGtextendtpopRCR'text_modulestappendtcmdclasstget(
R*R1R2R3R4R5RARDt
allsourcesRR((
RWR.R1RFRQRER2RGR3R4sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pyR)hs 	'"cs"ddlm�ddlm}ddlm}ddlm�ddlm	������fd��|j
jd|��d	�f���fd
��Y}||j
d<|jdkr�g|_n|jj��|j
jd|��d�f���fd
��Y}||j
d<dS(Ni����(RE(tbuild_py(RD(RF(RGcsV�jd|��tjj|���j��|�}|sR�jd�ndS(Nsgenerating cffi module %rsalready up-to-date(RKRRtdirnametmake_py_source(tpy_fileRP(R1RFRER2RG(sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pytgenerate_mod�s
Retbuild_py_make_modcs/eZ���fd�Z��fd�ZRS(csL�j|��jd�}|dcd7<�tjj|j|��dS(NRi����s.py(RURRRRJt	build_lib(RVtmodule_path(RWRiR2(sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pyRU�s
cs\|j}zB|r=g|D]}|�kr|^q|_n�j|�SWd||_XdS(N(t
py_modulestget_source_files(RVtsaved_py_modulestm(RWR2(sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pyRn�s	
(RRXRURn((RWRiR2(sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pyRj�sRDRRcseZ���fd�ZRS(cs��j|�|jr��jd�}dj|d �}|jd�}|j|�}|dd}�tjj||��ndS(NRi����Res.py(RUtinplaceRRJtget_finalized_commandtget_package_dirRR(RVRltpackageRetpackage_dirt	file_name(tbase_class_2RiR2(sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pyRU�s
	(RRXRU((RwRiR2(sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pyRR�s(R[REtsetuptools.command.build_pyReRZRDR\RFR]RGRbRcRmR'Ra(R*R1R2ReRDRjRR((RWRwR1RiRFRER2RGsJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pyR(�s"
"cCsO|dkst�t|t�r-|g}nx|D]}t||�q4WdS(Ntcffi_modules(tAssertionErrorRRR6(R*tattrtvaluetcffi_module((sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pyRy�s

(RR:Rt	NameErrorRRR
R6RCR)R(Ry(((sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/cffi/setuptools_ext.pyt<module>s

		
	-		.	=

Zerion Mini Shell 1.0