| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/setuptools/__pycache__/ |
Upload File : |
o
�_�aX � @ sd d Z ddlZddlZddlZddlmZ dZdZdZ dZ
dZd d
� Zddd�Z
dd
d�Zdd� ZdS )zX
Re-implementation of find_module and get_frozen_object
from the deprecated imp module.
� N� )�module_from_spec� � � � c C s( t |t�rtj�� jntjj}|| |�S �N)�
isinstance�list� importlib� machinery�
PathFinder� find_spec�util)�module�paths�finder� r �1/usr/lib/python3/dist-packages/setuptools/_imp.pyr s
��
r c C sJ t | |�}|du rtd| ��|jst|d�rtj�d|j�}d}d}t|jt �}|j
dks8|rAt|jtjj
�rAt}d}d }}n\|j
dksP|rYt|jtjj�rYt}d}d }}nD|jr�|j
}tj�|�d }|tjjv rod
nd}|tjjv rzt}n|tjjv r�t}n|tjjv r�t}|tthv r�t||�}nd}d }}|||||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) r r �spec�kind�file�staticr) �suffix�moder r r �find_module sH
�
�
�r8 c C s&