ok

Mini Shell

Direktori : /opt/imunify360/venv/lib/python3.11/site-packages/cffi/__pycache__/
Upload File :
Current File : //opt/imunify360/venv/lib/python3.11/site-packages/cffi/__pycache__/ffiplatform.cpython-311.pyc

�

l��f����ddlZddlZddlmZgd�Zdd�Zdd�Zdd�Z	dd	lm	Z	n#e
$rd
�Z	YnwxYwd�Z	ee
fZddlZn#e$r	eZddlZYnwxYwd�Zd
�Zd�ZdS)�N�)�VerificationError)�sources�include_dirs�library_dirs�
extra_objects�depends�c��t��ddlm}|g}|D]4}|�tj�|�����5|d||d�|��S)Nr)�	Extension)�namerr
)�_hack_at_distutils�distutils.corer�append�os�path�normpath)�srcfilename�modnamer�kwdsr�
allsources�srcs       �r/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib64/python3.11/site-packages/cffi/ffiplatform.py�
get_extensionrsz������(�(�(�(�(�(���J��1�1�����"�'�*�*�3�/�/�0�0�0�0��9�>�'�:�>�>��>�>�>�c��t��tj���}	t	||||��}tj�|��}|���D]7\}}tj�|��|kr|tj|<�8nQ#|���D]7\}}tj�|��|kr|tj|<�8wxYw|S)z-Compile a C extension module using distutils.)	rr�environ�copy�_buildr�abspath�items�get)�tmpdir�ext�compiler_verbose�debug�
saved_environ�outputfilename�key�values        r�compiler+s��������J�O�O�%�%�M�(����-=�u�E�E�������8�8��(�-�-�/�/�	(�	(�J�C���z�~�~�c�"�"�e�+�+�"'��
�3���	(��-�-�-�/�/�	(�	(�J�C���z�~�~�c�"�"�e�+�+�"'��
�3���	(�����s�1B,�,AC:c���ddlm}ddl}ddl}|d|gi��}|���|�d��}|�tjj}d|f|d<d|d<d|f|d	<d|f|d
<	|j	�
d��pd}	|j	�|��|�d��|�
d��}	|	���\}
|j	�
|��n#|j	�
|��wxYwnA#|jj|jjf$r#}t%|jj�d|�����d}~wwxYw|
S)Nr)�Distribution�ext_modules�	build_ext�ffiplatformr&)r0T�force�	build_lib�
build_tempz: )rr-�distutils.errors�
distutils.log�parse_config_files�get_option_dict�sys�flagsr&�log�
set_threshold�
set_verbosity�run_command�get_command_obj�get_outputs�errors�CompileError�	LinkErrorr�	__class__�__name__)r#r$r%r&r-�	distutils�dist�options�	old_level�cmd_obj�soname�es            rrr s���+�+�+�+�+�+�*�*�*�*�*�*�*�*��<����.�/�/�D��������"�"�;�/�/�G��}��	���%�u�-�G�G��,�G�G��)�6�2�G�K��*�F�3�G�L��F��M�/�/��2�2�7�a�	�	3��M�'�'�(8�9�9�9����[�)�)�)��*�*�;�7�7�G��*�*�,�,�H�V��M�'�'�	�2�2�2�2��I�M�'�'�	�2�2�2�2����2����)���&�(�F�F�F��A�K�,@�,@�,@�!�!� D�E�E�E�����F�����Ms1�4D&�AD�+D&�D"�"D&�&E$�E�E$)�samefilec��tj�|��tj�|��kS�N)rrr )�f1�f2s  rrLrLAs)���w���r�"�"�b�g�o�o�b�&9�&9�9�9rc�|�tj�|��s|S|}g}	|}tj�|��\}}||ks|s|S|�|��	t|tj��r'|���tjj|�Sn#t$rYnwxYw��rN)
rr�isabs�splitrrL�curdir�reverse�join�OSError)r�dir�names�prevdirr
s     r�maybe_relative_pathr[Ds���
�7�=�=�������
�C��E�����G�M�M�'�*�*�	��T��'�>�>��>��K�
���T����	���R�Y�'�'�
,��
�
�����w�|�U�+�+�
,���	�	�	��D�	����s�+AB-�-
B:�9B:c���t|t��r)|�dt|��|fz��dSt|t��rst|�����}|�dt|��z��|D](}t||��t|||���)dSt|ttf��r<|�dt|��z��|D]}t||���dSt|t��r|�d|fz��dStd|�����)Nz%ds%sz%ddz%dlz%diz5the keywords to verify() contains unsupported object )�
isinstance�str�write�len�dict�sorted�keys�_flatten�list�tuple�int_or_long�	TypeError)�x�frcr)r*s     rrdrd_sr���!�S���N�	����3�q�6�6�1�+�%�&�&�&�&�&�	�A�t�	�	�N��a�f�f�h�h����	�����D�	�	�!�"�"�"��	 �	 �C��S�!�����Q�s�V�Q�����	 �	 �
�A��e�}�	%�	%�N�	�����A��������	�	�E��U�A�����	�	�	�A�{�	#�	#�N�	�������������i�IJ��L�N�N�	Nrc�p�tj��}t||��|���SrN)�	cStringIO�StringIOrd�getvalue)rirjs  r�flattenrors+������A��Q��N�N�N��:�:�<�<�rc�V�tjdkr	ddl}dS#t$rYdSwxYwdS)N�win32r)r8�platform�
setuptools�ImportError)rss rrrwsR���|�w���	���������	�	�	��D�D�	�����s��
&�&)r
)rN)r8r�errorr�LIST_OF_FILE_NAMESrr+r�os.pathrLrtr[�int�longrgrl�	NameError�iordrorr
rr�<module>r|s\����������$�$�$�$�$�$�2�2�2��?�?�?�?����� ����<:� � � � � � � ���:�:�:�:�:�:�:�:�:�������(���+�K������������K�����������N�N�N�&���
����s�'�2�2�A�A�A

Zerion Mini Shell 1.0