403Webshell
Server IP : 192.158.238.246  /  Your IP : 3.138.36.87
Web Server : LiteSpeed
System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
User : jenniferflocom ( 1321)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python38/lib64/python3.8/site-packages/cffi/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python38/lib64/python3.8/site-packages/cffi/__pycache__/setuptools_ext.cpython-38.pyc
U

ل=^�"�@snddlZddlZzeWnek
r0eZYnXdd�Zdd�Zdd�Zdd	�Zd
d�Z	dd
�Z
dd�ZdS)�NcCsddlm}||��dS)Nr)�DistutilsSetupError)�distutils.errorsr)�msgr�r�F/opt/alt/python38/lib64/python3.8/site-packages/cffi/setuptools_ext.py�error
src	Cs@t|��}|��}W5QRX|d7}t||d�}t|||�dS)N�
�exec)�open�read�compiler	)�filename�glob�f�src�coderrr�execfiles

rc
Cs�ddlm}t|t�s*tdt|�jf�t|�}z|�d�\}}Wn"t	k
rftd|f�YnXt
j�|�s�d}|�
dd�d	}t
j�|�r�d
|d|f}td||f�d|d
�}t||�z||}Wn$tk
r�td||f�YnXt||��s|�}t||��s0td|t|�jf�t|d��sJtd|f�|j\}	}
}}|j�rr|��}|�|�|
dk�r�t|||	�nt|||	|
||�dS)Nr)�FFIzEargument to 'cffi_modules=...' must be a str or a list of str, not %r�:z3%r must be of the form 'path/build.py:ffi_variable'��.�/�.pyz (rewrite cffi_modules to [%r])z#%r does not name an existing file%sZ__cffi__)�__name__�__file__z!%r: object %r not found in modulez"%r is not an FFI instance (got %r)�_assigned_sourcez*%r: the set_source() method was not called)Zcffi.apir�
isinstance�
basestringr�typer�str�split�
ValueError�os�path�exists�replacer�KeyError�hasattrrZ_windows_unicode�copyZ_apply_windows_unicode�_add_py_module�
_add_c_module)
�distZmod_specrZbuild_file_nameZffi_var_name�extZ	rewrittenZmod_vars�ffi�module_name�source�source_extension�kwdsrrr�add_cffi_modulesV

��
�

��

r2cCsnd|krjttd�sjtjdkrjddl}z(t|j�d�d�}|dkrJd|d<Wntk
rhd|d<YnX|S)	a
    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.
    �py_limited_api�gettotalrefcount�win32rNr�T)r'�sys�platform�
setuptools�int�__version__�	partitionr!)�	Extensionr1r9Zsetuptools_major_versionrrr�_set_py_limited_apiIs�r>c
	s�ddlm}ddlm}ddlm�ddlm�ddlm	�dg}|�
|�dg��t||�}|f�|d	�|���d��������	fd
d�	�|j
dkr�g|_
|j
���|j�d|��G���fd
d�d��}	|	|jd<dS)Nr)r=��	build_ext��mkpath��log��
recompiler�$PLACEHOLDER�sources)�namerHcs\tj�|���}��d|��|�|dk	r:|��������|�}|sX��d�|S�Nzgenerating cffi module %rzalready up-to-date)r"r#�join�infoZ
make_c_source)Ztmpdir�pre_runZc_file�updated)r,r-rDrBr.rFr/r0rr�make_modus

z_add_c_module.<locals>.make_modr@cseZdZ���fdd�ZdS)z)_add_c_module.<locals>.build_ext_make_modcs:�jddkr,t|dd�}�|j|��jd<��|�dS)NrrGrM)rH�getattr�
build_temp�run)�selfrM��
base_classr,rOrrrR�sz-_add_c_module.<locals>.build_ext_make_mod.runN�r�
__module__�__qualname__rRrrTrr�build_ext_make_mod�srY)N)�distutils.corer=�setuptools.command.build_extr@�distutils.dir_utilrB�	distutilsrD�cffirF�extend�popr>�ext_modules�append�cmdclass�get)
r+r-r.r/r0r1r=r@Z
allsourcesrYr)
rUr,r-rDrOrBr.rFr/r0rr*hs 

r*cs�ddlm�ddlm}ddlm}ddlm�ddlm	������fdd��|j
�d	|��G���fd
d�d��}||j
d	<|jdkr�g|_|j�
��|j
�d|��G���fd
d�d��}||j
d<dS)NrrA)�build_pyr?rCrEcs>��d|��tj�|������|�}|s:��d�dSrJ)rLr"r#�dirnameZmake_py_source)�py_filerN)r-rDrBr.rFrr�generate_mod�s
z$_add_py_module.<locals>.generate_modrecs*eZdZ���fdd�Z��fdd�ZdS)z)_add_py_module.<locals>.build_py_make_modcs@��|���d�}|dd7<�tjj|jf|���dS)Nr���r)rRr r"r#rK�	build_lib)rS�module_path�rUrhr.rrrR�s

z-_add_py_module.<locals>.build_py_make_mod.runcs:|j}z&|r �fdd�|D�|_��|�W�S||_XdS)Ncsg|]}|�kr|�qSrr)�.0�m)r.rr�
<listcomp>�s�zN_add_py_module.<locals>.build_py_make_mod.get_source_files.<locals>.<listcomp>)�
py_modules�get_source_files)rSZsaved_py_modules)rUr.rrrq�sz:_add_py_module.<locals>.build_py_make_mod.get_source_filesN)rrWrXrRrqrrlrr�build_py_make_mod�srrr@cseZdZ���fdd�ZdS)z*_add_py_module.<locals>.build_ext_make_modcsb��|�|jr^��d�}d�|dd��}|�d�}|�|�}|dd}�tj�||��dS)Nrrirer)rRZinplacer rK�get_finalized_commandZget_package_dirr"r#)rSrk�packagere�package_dir�	file_name��base_class_2rhr.rrrR�s



z._add_py_module.<locals>.build_ext_make_mod.runNrVrrwrrrY�srY)r\rBZsetuptools.command.build_pyrer[r@r]rDr^rFrcrdrprb)r+r-r.rer@rrrYr)rUrxr-rhrDrBr.rFrr)�s


r)cCs4|dkst�t|t�r|g}|D]}t||�q dS)N�cffi_modules)�AssertionErrorrrr2)r+�attr�valueZcffi_modulerrrry�s

ry)r"r7r�	NameErrorrrrr2r>r*r)ryrrrr�<module>s

-.=

Youez - 2016 - github.com/yon3zu
LinuXploit