Your IP : 3.133.122.95


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

�

��bg�	��f�dZddlZddlZddlZddlZddlmZdZdZdZ	dZ
dZd	�Zd
d
�Z
d
d�Zd�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   �F/opt/cloudlinux/venv/lib64/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*}t-j|��}nL|tjjvrt2}t/|d��}n!|tjjvrt6}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�tokenize�open�BYTECODE_SUFFIXES�PY_COMPILED�EXTENSION_SUFFIXES�C_EXTENSION)	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�D�
�y�*�<�
<�
<��D���d�#�#�D�D�
�y�*�=�
=�
=��D������������d�+�+�+rc�~�t||��}|std|z���|j�|��S�Nr)rrr#�get_code)rrr6s   r�get_frozen_objectr@LsB���V�U�#�#�D��4��/�F�2�3�3�3��;����'�'�'rc�h�t||��}|std|z���t|��Sr>)rrr)rr�infor6s    r�
get_modulerCSs:���V�U�#�#�D��4��/�F�2�3�3�3��D�!�!�!rr
)�__doc__�importlib.machineryr
�importlib.utilr+r0rr/r3r5r*r(rr<r@rC�rr�<module>rHs�����
��������	�	�	�	�����+�+�+�+�+�+�
�	�����
�	�
�	�!�!�!�-,�-,�-,�-,�`(�(�(�(�"�"�"�"�"r

?>