관리-도구
편집 파일: setuptools_ext.cpython-311.pyc
� �}EX�b�� �b � d dl Z d dlZ e n # e$ r eZY nw xY wd� Zd� Zd� Zd� Zd� Z d� Z d� ZdS ) � Nc �$ � ddl m} || � � �)Nr )�DistutilsSetupError)�distutils.errorsr )�msgr s �u/builddir/build/BUILD/imunify360-venv-2.5.2/opt/imunify360/venv/lib64/python3.11/site-packages/cffi/setuptools_ext.py�errorr s% � �4�4�4�4�4�4� � �c� "� "�"� c �� � t | � � 5 }|� � � }d d d � � n# 1 swxY w Y |dz }t || d� � }t |||� � d S )N� �exec)�open�read�compiler )�filename�glob�f�src�codes r �execfiler s� � � �h��� �1��f�f�h�h��� � � � � � � � � � ���� � � � ��4�K�C��3��&�)�)�D���t�T�����s �1�5�5c �D � ddl m} t |t � � s$t dt |� � j ��� � t |� � } |� d� � \ }}n"# t $ r t |�d�� � Y nw xY wt j � |� � sZd}|� dd� � d z }t j � |� � rd |dz |z �d�}t |�d|��� � d |d�}t ||� � || }n%# t $ r t |�d|�d�� � Y nw xY wt ||� � s |� � }t ||� � s't |�dt |� � j �d�� � t! |d� � st |�d�� � |j \ } } }}|j r)|� � � }|� |� � | �t+ | || � � d S t- | || | ||� � d S )Nr )�FFIzCargument to 'cffi_modules=...' must be a str or a list of str, not �:z1 must be of the form 'path/build.py:ffi_variable'� �.�/�.pyz (rewrite cffi_modules to [z])z does not name an existing file�__cffi__)�__name__�__file__z : object z not found in modulez is not an FFI instance (got �)�_assigned_sourcez(: the set_source() method was not called)�cffi.apir � isinstance� basestringr �typer �str�split� ValueError�os�path�exists�replacer �KeyError�hasattrr! �_windows_unicode�copy�_apply_windows_unicode�_add_py_module� _add_c_module) �dist�mod_specr �build_file_name�ffi_var_name�ext� rewritten�mod_vars�ffi�module_name�source�source_extension�kwdss r �add_cffi_moduler@ s� � ��������h� �+�+� 6� ����>�>�2�2�5� 6� 6� 6��8�}�}�H��(0���s�(;�(;�%������ � � � ��x�x�� � � � � ����� �7�>�>�/�*�*� N���#�+�+�C��5�5��=� � �7�>�>�)�$�$� 1� 1��C��,�.�.�.�1�C� ������L�M�M�M�&�O�D�D�H��_�h�'�'�'�D��|�$����� D� D� D� �X�X�X�5A�\�\�C� D� D� D� D� D�D���� �c�3��� ��c�e�e���c�3��� K� �h�h�h�6:�3�i�i�6H�6H�6H�J� K� K� K��3�*�+�+� J� �h�h�h�H�I�I�I�25�2F�/�K��)�4� �� )��y�y�{�{���"�"�4�(�(�(� �~��t�S�+�.�.�.�.�.��d�C��f�6F��M�M�M�M�Ms$ �A) �)B�B�D# �#E�Ec � � ddl m} d|vrot t d� � sZ|j rSddl} t |j � d� � d � � }|dk rd|d<