Your IP : 18.116.24.148


Current Path : /opt/imunify360/venv/lib64/python3.11/site-packages/setuptools/__pycache__/
Upload File :
Current File : //opt/imunify360/venv/lib64/python3.11/site-packages/setuptools/__pycache__/_imp.cpython-311.pyc

�

N�Dg�	��^�dZddlZddlZddlZddlmZdZdZdZdZ	dZ
d	�Zd
d
�Zd
d�Z
d�ZdS)zX
Re-implementation of find_module and get_frozen_object
from the deprecated imp module.
�N)�module_from_spec�����c��t|t��r#tj���jntjj}|||��S�N)�
isinstance�list�	importlib�	machinery�
PathFinder�	find_spec�util)�module�paths�finders   �o/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/_imp.pyrrsN���e�T�"�"�	&�	��&�&�(�(�2�2�
�^�
%��
�6�&�%� � � �c��t||��}|�td|z���|js5t|d��r%tj�d|j��}d}d}t|jt��}|j
dks&|r3t|jtjj
��rt}d}dx}}�n|j
dks&|r2t|jtjj��rt }d}dx}}n�|jr�|j
}t"j�|��d	}|tjjvrd
nd}|tjjvrt*}n5|tjjvrt.}n|tjjvrt2}|t*t.hvrt5||��}nd}dx}}|||||ffS)z7Just like 'imp.find_module()', but with package supportN�
Can't find %s�submodule_search_locationsz__init__.py����frozen�zbuilt-inr�r�rb)r�ImportError�has_location�hasattrr
r�spec_from_loader�loaderr�type�origin�
issubclassr�FrozenImporter�	PY_FROZEN�BuiltinImporter�	C_BUILTIN�os�path�splitext�SOURCE_SUFFIXES�	PY_SOURCE�BYTECODE_SUFFIXES�PY_COMPILED�EXTENSION_SUFFIXES�C_EXTENSION�open)	rr�spec�kind�file�staticr,�suffix�modes	         r�find_moduler;s����V�U�#�#�D��|��/�F�2�3�3�3���K���/K�!L�!L�K��~�.�.�}�d�k�J�J��
�D��D�
���T�
*�
*�F���x����	 ��t�{�I�$7�$F�G�G�	 ������������z�!�!��	"��t�{�I�$7�$G�H�H�	"����������	
�	���{����!�!�$�'�'��*���	� 3� C�C�C�s�s����Y�(�8�8�8��D�D�
�y�*�<�
<�
<��D�D�
�y�*�=�
=�
=��D��I�{�+�+�+���d�#�#�D������������d�+�+�+rc�~�t||��}|std|z���|j�|��S�Nr)rrr#�get_code)rrr5s   r�get_frozen_objectr?MsB���V�U�#�#�D��4��/�F�2�3�3�3��;����'�'�'rc�h�t||��}|std|z���t|��Sr=)rrr)rr�infor5s    r�
get_modulerBTs:���V�U�#�#�D��4��/�F�2�3�3�3��D�!�!�!rr
)�__doc__r+�importlib.utilr
�importlib.machineryrr/r1r3r*r(rr;r?rB�rr�<module>rGs�����

�	�	�	���������+�+�+�+�+�+�
�	�����
�	�
�	�!�!�!�-,�-,�-,�-,�`(�(�(�(�"�"�"�"�"r

?>