Your IP : 3.22.68.29


Current Path : /opt/alt/python312/lib/python3.12/site-packages/setuptools/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib/python3.12/site-packages/setuptools/__pycache__/_imp.cpython-312.pyc

�

t��e�	��\�dZddlZddlZddlZddlmZdZdZdZdZ	dZ
d	�Zd
d
�Zd
d�Z
d�Zy)zX
Re-implementation of find_module and get_frozen_object
from the deprecated imp module.
�N)�module_from_spec�����c��t|t�r(tjj	�j
ntjj
}|||�S�N)�
isinstance�list�	importlib�	machinery�
PathFinder�	find_spec�util)�module�paths�finders   ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/_imp.pyrrsI���e�T�"�	���&�&�(�2�2�
�^�^�
%�
%��
�&�%� � �c��t||�}|�td|z��|js6t|d�r*tj
j
d|j�}d}d}t|jt�}|jdk(s0|r<t|jtjj�rt}d}dx}}�n/|jdk(s0|r;t|jtjj�r
t }d}dx}}n�|jr�|j}t"j$j'|�d	}|tjj(vrd
nd}|tjj(vrt*}nE|tjj,vrt.}n"|tjj0vrt2}|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������/K�!L��~�~�.�.�}�d�k�k�J��
�D��D�
����T�
*�F����x����t�{�{�I�$7�$7�$F�$F�G������������z�!���t�{�{�I�$7�$7�$G�$G�H���������	
�	�	��{�{�����!�!�$�'��*���	� 3� 3� C� C�C�s����Y�(�(�8�8�8��D�
�y�*�*�<�<�
<��D�
�y�*�*�=�=�
=��D��I�{�+�+���d�#�D�����������d�+�+�+rc�p�t||�}|std|z��|jj|�S�Nr)rrr#�get_code)rrr5s   r�get_frozen_objectr?Ms6���V�U�#�D���/�F�2�3�3��;�;����'�'rc�P�t||�}|std|z��t|�Sr=)rrr)rr�infor5s    r�
get_modulerBTs,���V�U�#�D���/�F�2�3�3��D�!�!rr
)�__doc__r+�importlib.utilr
�importlib.machineryrr/r1r3r*r(rr;r?rB�rr�<module>rGsH���

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

?>