ok

Mini Shell

Direktori : /opt/cloudlinux/venv/lib/python3.11/site-packages/setuptools/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/setuptools/__pycache__/installer.cpython-311.pyc

�

�܋fi���ddlZddlZddlZddlZddlZddlmZddlmZddl	m
Z
ddlmZddl
mZddlmZd	�Zd
�Zd�Zd�Zd
�Zd�ZGd�de��ZdS)�N)�log)�DistutilsError)�partial�)�_reqs)�Wheel)�SetuptoolsDeprecationWarningc��t|t��r|���St|ttf��sJ�|S)z8Ensure find-links option end-up being a list of strings.)�
isinstance�str�split�tuple�list)�
find_linkss �e/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/setuptools/installer.py�_fixup_find_linksrsF���*�c�"�"�"����!�!�!��j�5�$�-�0�0�0�0�0���c�r�t���t|��t||��S)zLFetch an egg needed for building.

    Use pip/wheel to fetch/build a wheel.)�_DeprecatedInstaller�emit�_warn_wheel_not_available�_fetch_build_egg_no_warn)�dist�reqs  r�fetch_build_eggrs4���������d�#�#�#�#�D�#�.�.�.rc�4�ddl}t�d���t|��|j�t
j||j��tt|��d���}|D]}|j�|d����|S)Nr�)�
stacklevelT)�	installer�replace_conflicting)�replace)�
pkg_resourcesrrr�working_set�resolver�parse�Requirementrr�add)r�requiresr"�resolved_distss    r�_fetch_build_eggsr* s������������+�+�+��d�#�#�#�"�.�6�6�
��H�m�7�8�8��2�D�9�9� �7���N�
�:�:���!�%�%�d�D�%�9�9�9�9��rc	�@�ddl}t|��}|�d��}d|vrtd���dtjvo
dtjv}dtjvrd}nd|vr|dd	}nd}d
|vr#t
|d
d	��dd�ng}|jr|�|j��tj	�
|�����}|���}|�
|��D]}	|	|vr|�|	��r|	cS� tj��5}
t"jddd
ddd|
g}|r|�d��|�|�d|f��|pgD]}|�d|f���|�|jpt+|����	t-j|��n4#t,j$r"}
tt+|
����|
�d}
~
wwxYwt3t5jtj	�|
d����d��}tj	�||�����}|�|��|�|tj	�|d����}|j� ||���cddd��S#1swxYwYdS)Nr�easy_install�allow_hostszQthe `allow-hosts` option is not supported when using pip to install requirements.�	PIP_QUIET�PIP_VERBOSE�
PIP_INDEX_URL�	index_urlrrz-m�pipz--disable-pip-version-check�wheelz	--no-depsz-wz--quietz--index-urlz--find-linksz*.whlzEGG-INFO)�metadata)!r"�strip_marker�get_option_dictr�os�environr�dependency_links�extend�path�realpath�get_egg_cache_dir�Environment�find_distributions�can_add�tempfile�TemporaryDirectory�sys�
executable�append�urlr�
subprocess�
check_call�CalledProcessErrorr�glob�join�egg_name�install_as_egg�PathMetadata�Distribution�
from_filename)rrr"�opts�quietr1r�eggs_dir�environment�egg_dist�tmpdir�cmd�link�er3�
dist_location�
dist_metadatas                 rrr0s��������s�
�
�C�����/�/�D������
6�
�
�	
�
�r�z�)�M�m�2�:�.M�E��"�*�$�$��	�	�	��	�	���%�a�(�	�	��	�7C�t�7K�7K��$�|�,�Q�/�0�0����3�3�QS����1����$�/�0�0�0��w���� 6� 6� 8� 8�9�9�H��+�+�-�-�K�!�4�4�X�>�>�����s�?�?�{�2�2�8�<�<�?��O�O�O��	�	$�	&�	&�!
�&��N���)�����	
���	"��J�J�y�!�!�!�� ��J�J�
�y�1�2�2�2��$�"�	/�	/�D��J�J���-�.�.�.�.�	�
�
�3�7�&�c�#�h�h�'�'�'�	0��!�#�&�&�&�&���,�	0�	0�	0� ��Q���(�(�a�/�����	0�����d�i�����V�W� =� =�>�>�q�A�B�B������X�u�~�~�/?�/?�@�@�
�
���]�+�+�+�%�2�2��2�7�<�<�
�z�B�B�
�
�
��)�7�7��M�8�
�
�?!
�!
�!
�!
�!
�!
�!
�!
�!
�!
�!
�!
����!
�!
�!
�!
�!
�!
s8�BL�"G7�6L�7H(�H#�#H(�(CL�L�Lc�j�ddl}|j�t|����}d|_|S)z�
    Return a new requirement without the environment marker to avoid
    calling pip with something like `babel; extra == "i18n"`, which
    would always be ignored.
    rN)r"r&r%r�marker)rr"s  rr5r5ss:�������
#�
)�
)�#�c�(�(�
3�
3�C��C�J��Jrc��ddl}	|�d��dS#|j$r$|�dtj��YdSwxYw)Nrr3z,WARNING: The wheel package is not available.)r"�get_distribution�DistributionNotFound�announcer�WARN)rr"s  rrr�sp������P��&�&�w�/�/�/�/�/���-�P�P�P��
�
�D�c�h�O�O�O�O�O�O�P���s��*A�
Ac��eZdZdZdZdS)rz9setuptools.installer and fetch_build_eggs are deprecated.z�
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    N)�__name__�
__module__�__qualname__�_SUMMARY�_DETAILS�rrrr�s������J�H��H�H�Hrr)rJr7rGrCrA�	distutilsr�distutils.errorsr�	functoolsr�rr3r�warningsr	rrr*rr5rrrirr�<module>ros7������	�	�	�	�����
�
�
�
�����������+�+�+�+�+�+�������������������2�2�2�2�2�2����/�/�/�
�
�
� @
�@
�@
�F���P�P�P������7�����r

Zerion Mini Shell 1.0