Current Dir: /snap/core22/2955/usr/lib/python3/dist-packages/setuptools/__pycache__/

[FILE] archive_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_meta.cpython-310.pyc [ edit | delete | rename ]
[FILE] config.cpython-310.pyc [ edit | delete | rename ]
[FILE] depends.cpython-310.pyc [ edit | delete | rename ]
[FILE] dep_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] dist.cpython-310.pyc [ edit | delete | rename ]
[FILE] errors.cpython-310.pyc [ edit | delete | rename ]
[FILE] extension.cpython-310.pyc [ edit | delete | rename ]
[FILE] glob.cpython-310.pyc [ edit | delete | rename ]
[FILE] installer.cpython-310.pyc [ edit | delete | rename ]
[FILE] launch.cpython-310.pyc [ edit | delete | rename ]
[FILE] monkey.cpython-310.pyc [ edit | delete | rename ]
[FILE] msvc.cpython-310.pyc [ edit | delete | rename ]
[FILE] namespaces.cpython-310.pyc [ edit | delete | rename ]
[FILE] package_index.cpython-310.pyc [ edit | delete | rename ]
[FILE] py34compat.cpython-310.pyc [ edit | delete | rename ]
[FILE] sandbox.cpython-310.pyc [ edit | delete | rename ]
[FILE] unicode_utils.cpython-310.pyc [ edit | delete | rename ]
[FILE] version.cpython-310.pyc [ edit | delete | rename ]
[FILE] wheel.cpython-310.pyc [ edit | delete | rename ]
[FILE] windows_support.cpython-310.pyc [ edit | delete | rename ]
[FILE] _deprecation_warning.cpython-310.pyc [ edit | delete | rename ]
[FILE] _imp.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]

Viewing: /snap/core22/2955/usr/lib/python3/dist-packages/setuptools/__pycache__/installer.cpython-310.pyc

o

�_�a��@s�ddlZddlZddlZddlZddlZddlZddlmZddlm	Z	ddl
Z
ddlmZddl
mZdd�Zd	d
�Zdd�ZdS)
�N)�log)�DistutilsError)�Wheel�)�SetuptoolsDeprecationWarningcCs(t|t�r	|��St|ttf�sJ�|S)z8Ensure find-links option end-up being a list of strings.)�
isinstance�str�split�tuple�list)�
find_links�r
�6/usr/lib/python3/dist-packages/setuptools/installer.py�_fixup_find_linkss
rcCsHt�dt�zt�d�Wntjy|�dtj�Ynwt	|�}|�
d�}d|vr0td��dtj
vo9dtj
v}d	tj
vrBd
}n
d|vrM|dd}nd
}d
|vr_t|d
d�d
d
�ng}|jrj|�|j�tj�|���}t��}t�|�D]}||vr�|�|�r�|Sq{t����}	tjdddddd|	g}
|r�|
�d�|d
ur�|
�d|f�|p�gD]	}|
�d|f�q�|
�|jp�t|��zt�|
�Wntj y�}ztt|��|�d
}~wwt!t"�"tj�#|	d��d�}
tj�#||
�$��}|
�%|�t�&|tj�#|d��}tj'j(||d�}|Wd
�S1�swYd
S)zLFetch an egg needed for building.

    Use pip/wheel to fetch/build a wheel.z\setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.�wheelz,WARNING: The wheel package is not available.�easy_install�allow_hostszQthe `allow-hosts` option is not supported when using pip to install requirements.�	PIP_QUIET�PIP_VERBOSE�
PIP_INDEX_URLN�	index_urlrrz-m�pipz--disable-pip-version-checkz	--no-depsz-wz--quietz--index-urlz--find-linksz*.whlrzEGG-INFO)�metadata))�warnings�warnr�
pkg_resources�get_distribution�DistributionNotFound�announcer�WARN�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)�dist�req�opts�quietrr�eggs_dir�environment�egg_dist�tmpdir�cmd�link�er�
dist_location�
dist_metadatar
r
r�fetch_build_eggsx��

 ��
�
��
��&�rIcCstj�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.
    N)r�Requirement�parser�marker)r=r
r
rr _sr )r5r"r2r.r,r�	distutilsr�distutils.errorsrr�setuptools.wheelr�_deprecation_warningrrrIr r
r
r
r�<module>sH
Upload File: