403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/saltstack/salt/lib/python3.10/site-packages/cffi/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/saltstack/salt/lib/python3.10/site-packages/cffi/__pycache__/setuptools_ext.cpython-310.pyc
o

;j�$�@stddlZddlZddlZzeWneyeZYnwdd�Zdd�Zdd�Zdd	�Z	d
d�Z
dd
�Zdd�ZdS)�NcCsddlm}||��)Nr)�DistutilsSetupError)�cffi._shimmed_dist_utilsr)�msgr�r�G/opt/saltstack/salt/lib/python3.10/site-packages/cffi/setuptools_ext.py�errorsrcCsTt|��}|��}Wd�n1swY|d7}t||d�}t|||�dS)N�
�exec)�open�read�compiler	)�filename�glob�f�src�coderrr�execfiles

�rc
Cs�ddlm}t|t�stdt|�jf�t|�}z	|�d�\}}Wnt	y2td|f�Ynwt
j�|�sZd}|�
dd�d	}t
j�|�rRd
|d|f}td||f�d|d
�}t||�z||}Wnty{td||f�Ynwt||�s�|�}t||�s�td|t|�jf�t|d�s�td|f�|j\}	}
}}|jr�|��}|�|�|
dur�t|||	�dSt|||	|
||�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)
�dist�mod_specrZbuild_file_nameZffi_var_name�extZ	rewrittenZmod_vars�ffi�module_name�source�source_extension�kwdsrrr�add_cffi_modulesZ

�
��
�

��

�

r3cCs�ddlm}ddlm}d|vr>ttd�s>|jr>ddl}zt|j	�
d�d�}|dkr/d	|d<Wn
ty=d	|d<Ynwt�
d
�rQ|�d�rM|�d�d|d<|�d�dura|�d
g��d�|S)a7
    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.
    Recently (2020) we started shipping only >= 3.5 wheels, though.  So
    we'll give it another try and set py_limited_api on Windows >= 3.5.
    r)�log��
recompilerZpy_limited_apiZgettotalrefcountNr�TZPy_GIL_DISABLEDz5Ignoring py_limited_api=True for free-threaded build.FZ
define_macros)Z_CFFI_NO_LIMITED_APIN)rr4�cffir6r'�sysZUSE_LIMITED_API�
setuptools�int�__version__�	partitionr!�	sysconfig�get_config_var�get�info�
setdefault�append)�	Extensionr2r4r6r:Zsetuptools_major_versionrrr�_set_py_limited_apiJs*���


rEc
	s�ddlm}ddlm}m�m�ddlm�dg}|�|�	dg��t
||�}|d
�|d�|���d��������	fdd	�	�|jdurGg|_|j���|j
�d
|��G���fdd�d��}	|	|j
d
<dS)Nr��	build_ext)rDr4�mkpathr5�$PLACEHOLDER�sources)�namerJcs\tj�|���}��d|��|�|dur|��������|�}|s,��d�|S�Nzgenerating cffi module %rzalready up-to-date)r"r#�joinrAZ
make_c_source)Ztmpdir�pre_runZc_file�updated)r-r.r4rHr/r6r0r1rr�make_mod�s

z_add_c_module.<locals>.make_modrGc�eZdZ���fdd�ZdS)z)_add_c_module.<locals>.build_ext_make_modcs:�jddkrt|dd�}�|j|��jd<��|�dS)NrrIrN)rJ�getattrZ
build_temp�run)�selfrN��
base_classr-rPrrrS�sz-_add_c_module.<locals>.build_ext_make_mod.runN�r�
__module__�__qualname__rSrrUrr�build_ext_make_mod��rZr)N)�setuptools.command.build_extrGrrDr4rHr8r6�extend�poprEZext_modulesrC�cmdclassr@)
r+r.r/r0r1r2rGrDZ
allsourcesrZr)
rVr-r.r4rPrHr/r6r0r1rr*ws

r*cs�ddlm}ddlm}ddlm�m�ddlm������fdd��|j	�
d|��G���fd	d
�d
��}||j	d<|jdurDg|_|j���|j	�
d|��G���fdd
�d
��}||j	d<dS)Nr)�build_pyrF)r4rHr5csB��d|��tj�|������|�}|s��d�dSdSrL)rAr"r#�dirnameZmake_py_source)Zpy_filerO)r.r4rHr/r6rr�generate_mod�s�z$_add_py_module.<locals>.generate_modr`cs*eZdZ���fdd�Z��fdd�ZdS)z)_add_py_module.<locals>.build_py_make_modcsB��|���d�}|dd7<�tjj|jg|�R��dS)Nr���r)rSr r"r#rMZ	build_lib)rT�module_path�rVrbr/rrrS�s

z-_add_py_module.<locals>.build_py_make_mod.runcs:|j}z|r�fdd�|D�|_��|�W||_S||_w)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)rTZsaved_py_modules)rVr/rrrj�s
z:_add_py_module.<locals>.build_py_make_mod.get_source_filesN)rrXrYrSrjrrerr�build_py_make_mod�srkrGcrQ)z*_add_py_module.<locals>.build_ext_make_modcsf��|�|jr1��d�}d�|dd��}|�d�}|�|�}|dd}�tj�||��dSdS)Nrrcr`r)rSZinplacer rMZget_finalized_commandZget_package_dirr"r#)rTrd�packager`Zpackage_dir�	file_name��base_class_2rbr/rrrS�s



�z._add_py_module.<locals>.build_ext_make_mod.runNrWrrnrrrZ�r[rZ)
Zsetuptools.command.build_pyr`r\rGrr4rHr8r6r_r@rirC)r+r.r/r`rGrkrZr)rVror.rbr4rHr/r6rr)�s


r)cCs4|dksJ�t|t�r|g}|D]}t||�qdS)N�cffi_modules)rrr3)r+�attr�valueZcffi_modulerrrrp�s
�rp)
r"r9r>r�	NameErrorrrrr3rEr*r)rprrrr�<module>s�
--,<

Youez - 2016 - github.com/yon3zu
LinuXploit