Server IP : 184.154.167.98 / Your IP : 18.117.192.109 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.8/site-packages/setuptools/__pycache__/ |
Upload File : |
U �Qab� � @ s\ d Z ddlZddlZddlZddlmZ dZdZdZ dZ dZdd d �Zddd�Z d d� ZdS )zX Re-implementation of find_module and get_frozen_object from the deprecated imp module. � N� )�module_from_spec� � � � c C sV t j�| |�}|dkr"td| ��|jsBt|d�rBt j�d|j�}d}d}t|jt �}|j dkst|r�t|jt jj �r�t}d}d }}n�|j dks�|r�t|jt jj�r�t}d}d }}n�|j�r:|j }tj�|�d }|t jjkr�d nd}|t jjkr�t}n&|t jjk�rt}n|t jjk�r t}|tthk�rFt||�}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)� importlib�util� find_spec�ImportError�has_location�hasattr�spec_from_loader�loader� isinstance�type�origin� issubclass� machinery�FrozenImporter� PY_FROZEN�BuiltinImporter� C_BUILTIN�os�path�splitext�SOURCE_SUFFIXES� PY_SOURCE�BYTECODE_SUFFIXES�PY_COMPILED�EXTENSION_SUFFIXES�C_EXTENSION�open) �module�paths�specZkind�fileZstaticr! �suffix�mode� r0 �3/usr/lib/python3.8/site-packages/setuptools/_imp.py�find_module sJ � � r2 c C s* t j�| |�}|std| ��|j�| �S �Nr )r r r r r �get_code)r* r+ r, r0 r0 r1 �get_frozen_object>