Your IP : 18.189.182.15


Current Path : /opt/alt/python311/lib/python3.11/site-packages/setuptools/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib/python3.11/site-packages/setuptools/__pycache__/_imp.cpython-311.pyc

�

,�ReX	��^�dZddlZddlZddlZddlmZdZdZdZ	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   ��/builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el8.x86_64/opt/alt/python311/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��{�h���&��Z��K��,�;�.=�.=�����������	
��
�	"�	"�f�	"���K��,�<�2>�2>�	"����������	
�	���{����!�!�$�'�'��*���	� 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?GsB���V�U�#�#�D��4��/�F�2�3�3�3��;����'�'�'rc�h�t||��}|std|z���t|��Sr=)rrr)rr�infor5s    r�
get_modulerBNs:���V�U�#�#�D��4��/�F�2�3�3�3��D�!�!�!rr
)�__doc__r+�importlib.utilr
�importlib.machinery�
py34compatrr/r1r3r*r(rr;r?rB�rr�<module>rHs�����

�	�	�	���������(�(�(�(�(�(�
�	�����
�	�
�	�!�!�!�',�',�',�',�T(�(�(�(�"�"�"�"�"r

?>