%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/setuptools/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/setuptools/__pycache__/installer.cpython-312.pyc

�


_�d}���ddlZddlZddlZddlZddlZddlmZddlmZddl	m
Z
ddlmZddl
mZddlmZd	�Zd
�Zd�Zd�Zd
�Zd�ZGd�de�Zy)�N)�log)�DistutilsError)�partial�)�_reqs)�Wheel)�SetuptoolsDeprecationWarningc�v�t|t�r|j�St|ttf�sJ�|S)z8Ensure find-links option end-up being a list of strings.)�
isinstance�str�split�tuple�list)�
find_linkss �6/usr/lib/python3/dist-packages/setuptools/installer.py�_fixup_find_linksrs5���*�c�"����!�!��j�5�$�-�0�0�0���c�X�tj�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_eggrs%�������d�#�#�D�#�.�.rc�,�ddl}tjd��t|�|jjt
j||j�tt|�d��}|D]}|jj|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�7�8��2�D�9� �7��N�
�:���!�!�%�%�d�D�%�9�:��rc	���ddl}t|�}|jd�}d|vrtd��dtj
vxrdtj
v}dtj
vrd}nd|vr	|dd	}nd}d
|vrt
|d
d	�ddng}|jr|j|j�tjj|j��}|j�}|j|�D]}	|	|vs�|j|	�s�|	cStj �5}
t"j$ddd
ddd|
g}|r|j'd�|�|jd|f�|xsgD]}|jd|f��|j'|j(xst+|��	t-j.|�t3t5j4tjj7|
d��d�}tjj7||j9��}|j;|�|j=|tjj7|d��}|j>jA||��}|cddd�S#t,j0$r}
tt+|
��|
�d}
~
wwxYw#1swYyxYw)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�z�)�M�m�2�:�:�.M�E��"�*�*�$��	�	��	���%�a�(�	��	�7C�t�7K��$�|�,�Q�/�0��3�QS��������$�/�/�0��w�w���� 6� 6� 8�9�H��+�+�-�K�!�4�4�X�>����s�?�{�2�2�8�<��O��
�	$�	$�	&�"�&��N�N���)�����	
����J�J�y�!�� ��J�J�
�y�1�2��$�"�	/�D��J�J���-�.�	/�
	�
�
�3�7�7�&�c�#�h�'�	0��!�!�#�&��d�i�i������V�W� =�>�q�A�B�������X�u�~�~�/?�@�
�
���]�+�%�2�2��2�7�7�<�<�
�z�B�
�
��)�)�7�7��M�8�
���E"�"��.�,�,�	0� ��Q��(�a�/��	0��/"�"�s2�<BK�J/�CK�/K�K�K�K�K(c�d�ddl}|jjt|��}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  rr5r5ts/����
#�
#�
)�
)�#�c�(�
3�C��C�J��Jrc��ddl}	|jd�y#|j$r#|jdtj
�YywxYw)Nrr3z,WARNING: The wheel package is not available.)r"�get_distribution�DistributionNotFound�announcer�WARN)rr"s  rrr�sC���P��&�&�w�/���-�-�P��
�
�D�c�h�h�O�P�s��/A
�	A
c��eZdZdZdZy)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��Hrr)rJr7rGrCrA�	distutilsr�distutils.errorsr�	functoolsr�rr3r�warningsr	rrr*rr5rrrirr�<module>rosT���	��
���+����2��/�
� A�H�P��7�r

Zerion Mini Shell 1.0