U ��.eH��@s4dZddlmZddlZddlZddlZddlZddlZddlZ ddl Z ddl Z ddl Z ddl Z ddlZddlmZddlmZddlmZddlmZddlmZdd lmZdd lmZdd lmZdd lm Z m!Z!m"Z"dd l#m$Z$m%Z%ddl&m'Z'ddl(m)Z)ddl*m+Z+ddl,m-Z-m.Z.m/Z/ddl0m1Z1ddl2m3Z3m4Z4m5Z5m6Z6ddl7m8Z8ddl9m:Z:ddl;mZ>ddl?m@Z@e:�rddlAmBZBmCZCmDZDmEZEmFZFmGZGmHZHmIZImJZJmKZKmLZLmMZMddlNmOZOddlPmQZQddlRmSZSddlTmUZUddlVmWZWeGeXdfZYeLeQgeZfZ[d Z\e�]e^�Z_d!d"�Z`dXd$d%�ZadYd&d'�Zbd(d)�Zcd*d+�Zdd,d-�Zee �fd.e jg�Zhd/d0�Zid1d2�Zjd3d4�Zkd5d6�Zld7d8�ZmGd9d:�d:en�Zod;d<�ZpGd=d>�d>e�ZqdZdAdB�ZrdCdD�ZsdEdF�ZtdGdH�ZuGdIdJ�dJev�Zwe �fdKe jx�fdLdM�ZydNdO�ZzdPdQ�Z{dRdS�Z|dTdU�Z}GdVdW�dWev�Z~dS)[zH Support for installing and building the "wheel" binary package format. �)�absolute_importN)�urlsafe_b64encode)�Parser)� pkg_resources)� ScriptMaker)�get_export_entry)�canonicalize_name)�StringIO)� pep425tags)�InstallationError�InvalidWheelFilename�UnsupportedWheel)�distutils_scheme�get_major_minor_version)�Link)� indent_log)�has_delete_marker_file)�captured_stdout� ensure_dir� read_chunks)�make_setuptools_shim_args)� LOG_DIVIDER�call_subprocess�format_command_args�runner_with_spinner_message)� TempDirectory)�MYPY_CHECK_RUNNING)� open_spinner)� unpack_file)� path_to_url) �Dict�List�Optional�Sequence�Mapping�Tuple�IO�Text�Any�Iterable�Callable�Set)� Requirement)�InstallRequirement)�RequirementPreparer)� WheelCache)� Pep425Tag.)�rcCstj�||��tjjd�S)N�/)�os�path�relpath�replace�sep)�src�p�r:�7/usr/lib/python3.8/site-packages/pip/_internal/wheel.py�normpathOsr<�c CsRt��}d}t|d��.}t||d�D]}|t|�7}|�|�q$W5QRX||fS)z5Return (hash, length) for path using hashlib.sha256()r�rb)�size)�hashlibZsha256�openr�len�update)r4� blocksize�h�length�f�blockr:r:r;� hash_fileSs  rIcCs6t||�\}}dt|����d��d�}|t|�fS)z?Return (encoded_digest, length) for path using hashlib.sha256()zsha256=�latin1�=)rIr�digest�decode�rstrip�str)r4rDrErFrLr:r:r;�rehash_s���rPcCs6tjddkri}d}n ddi}d}t|||f|�S)Nr��b�newline�)�sys� version_inforA)�name�mode�nl�binr:r:r;� open_for_csvjs r[cCs|�d�}||d<d�|�S)zBReplace the Python tag in a wheel file name with a new value. �-�����)�split�join)Z wheelnameZnew_tag�partsr:r:r;�replace_python_tagus rac Cs�tj�|�r�t|d��R}|��}|�d�s8W5QR�dStj�t� ��}d|tj �d�}|� �}W5QRXt|d��}|� |�|� |�W5QRXdSdS) zLReplace #!python with #!/path/to/python Return True if file was changed.r>s#!pythonFs#!�ascii�wbTN) r3r4�isfilerA�readline� startswithrU� executable�encode�getfilesystemencoding�linesep�read�write)r4Zscript� firstlineZexename�restr:r:r;� fix_script~s     rozX^(?P(?P.+?)(-(?P.+?))?) \.dist-info$c Cs�|�dd�}t�|�D]p}t�|�}|r|�d�|krttj�||d���6}|D]*}|� �� �}|dkrPW5QR�dSqPW5QRXqdS)zP Return True if the extracted wheel in wheeldir should go into purelib. r\�_rW�WHEELzroot-is-purelib: trueTF) r6r3�listdir� dist_info_re�match�grouprAr4r_�lowerrN)rW�wheeldirZ name_folded�itemrt�wheel�liner:r:r;�root_is_purelib�s    r{c s�tj�|�siifSt|��8}t�}|D]}|�|���|�d�q(|�d�W5QRXtj � |�}|� di�}|� di�}dd��t �fdd�|� �D��}t �fd d�|� �D��}||fS) N� rZconsole_scriptsZ gui_scriptscSst|��dd��d�S)zRget the string representation of EntryPoint, remove space and split on '='� rTrK)rOr6r^)�sr:r:r;� _split_ep�sz"get_entrypoints.._split_epc3s|]}�|�VqdS�Nr:��.0�v�rr:r;� �sz"get_entrypoints..c3s|]}�|�VqdSr�r:r�r�r:r;r��s)r3r4�existsrAr rl�strip�seekrZ EntryPointZ parse_map�get�dict�values)�filename�fp�datarzZ entry_points�console�guir:r�r;�get_entrypoints�s      r�c sJ|sdSt�t�}|D]*}tj�|�}tj�|�}||�|�qdd�tj� dd�� tj �D���� tj� tj�tj����fdd�|��D�}|s�dSg}|��D]b\}}t|�}t|�dkr�d �|d �} n$d �d �|dd ��d|d �} |� d�| |��q�d} t|�dk�r0|� | �d��n|� | �d��d�|�S)z�Determine if any scripts are not on PATH and format a warning. Returns a warning message if one or more scripts are not on PATH, otherwise None. NcSs g|]}tj�|��tj��qSr:)r3r4�normcaserNr7)r��ir:r:r;� �sz5message_about_scripts_not_on_PATH..�PATHrTcs&i|]\}}tj�|��kr||�qSr:)r3r4r�)r�� parent_dir�scripts�Z not_warn_dirsr:r;� �s�z5message_about_scripts_not_on_PATH..r1z script {} isrzscripts {} are�, �����z and z.The {} installed in '{}' which is not on PATH.zeConsider adding {} to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.zthis directoryzthese directoriesr|)� collections� defaultdict�setr3r4�dirname�basename�add�environr�r^�pathsep�appendr�rUrg�items�sortedrB�formatr_) r�Zgrouped_by_dir�destfiler�Z script_nameZwarn_for� msg_linesZ dir_scriptsZsorted_scriptsZ start_textZ last_line_fmtr:r�r;�!message_about_scripts_not_on_PATH�sH   � � ����r�cCst|dd�d�S)a; Return the given rows of a RECORD file in sorted order. Each row is a 3-tuple (path, hash, size) and corresponds to a record of a RECORD file (see PEP 376 and PEP 427 for details). For the rows passed to this function, the size can be an integer as an int or string, or the empty string. cSstdd�|D��S)Ncss|]}t|�VqdSr�)rO)r��xr:r:r;r�sz3sorted_outrows....)�tuple)�rowr:r:r;��z sorted_outrows..)�key)r�)�outrowsr:r:r;�sorted_outrowssr�c Cs�g}|D]v}t|�dkr(t�d�|��t|�}|d}|�||�}||d<||krpt|�\} } | |d<| |d<|�t|��q|D]*} t| �\} } |�t | |�| t | �f�q�|D]} |�|| ddf�q�|S)z_ :param installed: A map from archive RECORD path to installation RECORD path. rQz,RECORD line has more than three elements: {}rr1�rT) rB�logger�warningr��list�poprPr�r�r<rO) Z old_csv_rows� installed�changed� generated�lib_dirZinstalled_rowsr�Zold_path�new_pathrLrFrGr:r:r;�get_csv_rows_for_installeds*  �   r�c@s eZdZdS)�MissingCallableSuffixN)�__name__� __module__� __qualname__r:r:r:r;r�=sr�cCs*t|�}|dk r&|jdkr&tt|���dSr�)r�suffixr�rO)� specification�entryr:r:r;�_raise_for_invalid_entrypointAsr�cseZdZd�fdd� Z�ZS)�PipScriptMakerNcst|�tt|��||�Sr�)r��superr��make)�selfr�Zoptions�� __class__r:r;r�HszPipScriptMaker.make)N)r�r�r�r�� __classcell__r:r:r�r;r�Gsr�FTc - sL|st|||||| d�}t|� �r,|d�n|d�g�g�� �tjj�tjj} i�t��g} |r�t��4} t� �� t� d�t j | ddd�W5QRXW5QRXt �| ���d-���� fdd � �d.����fd d � }|| �d�tj��d d�}t|�\����fdd�}�D]j}d }d }t�tj�� |��D]F}d }|dk�rPt}|}tj�� ||�} ||}|| |d||d��q6�qtd |d�}d|_dh|_d|_g}��dd �}|�r4dtjk�r�|�d|�tj�dd�dk�r|�dtjd |f�|�dt�|f�dd��D�}|D] }�|=�q&��dd �}|�r�dtjk�r`|�d|�|�dt�|f�dd��D�}|D] }�|=�q�|�dd ��� �D��d!d��� �D�}g}z.|�!|�}| �|�| �|�!|d"di��Wn>t"k �r.}z|j#d } t$d#�%| ����W5d }~XYnX| �rRt&|�}!|!d k �rRt �'|!�tj��d d$�}"tj��d d%�}#t(|#d&��}$|$�)d'�W5QRXt*�+|#|"�| �|"�tj��d d(�}%tj��d d)�}&t,|%d*��\}'t,|&d+��F}(t-�.|'�})t/|)��| �d,�}*t-�0|(�}+t1|*�D]},|+�2|,��qW5QRXW5QRXt*�+|&|%�d S)/zInstall a wheel)�user�home�root�isolated�prefixZpurelibZplatlib�ignoreT)�force�quietFcs.t|��}t|��}|�|<|r*��|�dS)z6Map archive RECORD paths to installation RECORD paths.N)r<r�)�srcfiler�ZmodifiedZoldpath�newpath)r�r�r�rwr:r;�record_installeds   z*move_wheel_files..record_installedNcs�t|�t�|�D�]�\}}}|t|�d��tjj�}tj�||�} |rf|�tjjd�d� d�rfq|D]d} tj�||| �} |r�|dkr�| � d�r��� | �qjqj|rj| � d�rjt | �� t �j ��rj�� | �qj|D]�} |r�|| �r�q�tj�|| �} tj�||| �}t| �tj�|��r$t�|�t�| |�t�| �}ttd��rZt�||j|jf�t�| tj��r�t�| �}|jtjBtjBtjB}t�||�d}|�r�||�}�| ||�q�qdS)Nr1rz.datarTz .dist-info�utimeF)rr3�walkrB�lstripr4r7r_r^�endswithr�rrfrWr��unlink�shutilZcopyfile�stat�hasattrr��st_atime�st_mtime�access�X_OK�st_mode�S_IXUSR�S_IXGRP�S_IXOTH�chmod)�source�destZis_base�fixer�filter�dirZsubdirs�filesZbasedirZdestdirr~Z destsubdirrGr�r��stZ permissionsr�)� data_dirs�info_dirr��reqr:r;�clobber�sP ���        � z!move_wheel_files..clobberrzentry_points.txtcsh|���d�r|dd�}n<|���d�r8|dd�}n |���d�rT|dd�}n|}|�kpf|�kS)Nz.exe�����z -script.pyi����z.pya)rvr�)rWZ matchname)r�r�r:r;�is_entrypoint_wrapper�sz/move_wheel_files..is_entrypoint_wrapperr�)r�r�rTZpipZENSUREPIP_OPTIONSzpip = Z altinstallz pip%s = %scSsg|]}t�d|�r|�qS)zpip(\d(\.\d)?)?$��rert�r��kr:r:r;r�0s z$move_wheel_files..Z easy_installzeasy_install = zeasy_install-%s = %scSsg|]}t�d|�r|�qS)zeasy_install(-\d\.\d)?$r�r�r:r:r;r�@s css|]}d|VqdS)�%s = %sNr:�r�Zkvr:r:r;r�Gsz#move_wheel_files..cSsg|] }d|�qS)r�r:r�r:r:r;r�Ksr�z�Invalid script entry point: {} for req: {} - A callable suffix is required. Cf https://packaging.python.org/en/latest/distributing.html#console-scripts for more information.Z INSTALLERz INSTALLER.piprcspip ZRECORDz RECORD.pip�rzw+)r�r�r�r�)F)NN)3rr{rNr3r4r7r�r�warnings�catch_warnings�filterwarnings� compileall� compile_dirr��debug�getvaluer_r�rrror�r�ZvariantsZset_moder�r�r�r�rUrVr�extendr�Z make_multipler��argsr r�r�r�rArlr��mover[�csv�readerr��writerr�Zwriterow)-rWr�rwr�r�r�Z pycompileZschemer�r�Zwarn_script_locationr�r��stdoutr�Zep_filer�Zdatadirr�r�Zsubdirr�ZmakerZscripts_to_generateZ pip_scriptZpip_epr�Zeasy_install_scriptZeasy_install_epZgui_scripts_to_generateZgenerated_console_scripts�er��msgZ installerZtemp_installerZinstaller_file�recordZ temp_recordZ record_inZ record_outrr�r r�r:) r�r�r�r�r�r�r�r�r�rwr;�move_wheel_filesMs��    $F   #  � �   ����  ��  � ��        �  "rcCsrzVdd�t�d|�D�d}|�d�}t��|�}|d��}ttt|� d���}|WSt k rlYdSXdS)z� Return the Wheel-Version of an extracted wheel, if possible. Otherwise, return None if we couldn't parse / extract it. cSsg|]}|�qSr:r:)r��dr:r:r;r��sz!wheel_version..Nrrqz Wheel-Version�.) rZ find_on_pathZ get_metadatarZparsestrr�r��map�intr^� Exception)� source_dirZdistZ wheel_data�versionr:r:r;� wheel_versions   rcCsb|std|��|dtdkr>td|d�tt|��f��n |tkr^t�dd�tt|���dS)a� Raises errors or warns if called with an incompatible Wheel-Version. Pip should refuse to install a Wheel-Version that's a major series ahead of what it's compatible with (e.g 2.0 > 1.1); and warn when installing a version only minor version ahead (e.g 1.2 > 1.1). version: a 2-tuple representing a Wheel-Version (Major, Minor) name: name of wheel or package to raise exception about :raises UnsupportedWheel: when an incompatible Wheel-Version is given z(%s is in an unsupported or invalid wheelrzB%s's Wheel-Version (%s) is not compatible with this version of piprz*Installing from a newer Wheel-Version (%s)N)r �VERSION_COMPATIBLEr_rrOr�r�)rrWr:r:r;�check_compatibility�s����rcCs d�|�S)z� Format three tags in the form "--". :param file_tag: A 3-tuple of tags (python_tag, abi_tag, platform_tag). r\)r_)Zfile_tagr:r:r;� format_tag�src@s>eZdZdZe�dej�Zdd�Zdd�Z dd�Z d d �Z d S) �Wheelz A wheel filez�^(?P(?P.+?)-(?P.*?)) ((-(?P\d[^-]*?))?-(?P.+?)-(?P.+?)-(?P.+?) \.whl|\.dist-info)$cs��j�|�}|std|��|�_|�d��dd��_|�d��dd��_|�d��_|�d�� d��_ |�d �� d��_ |�d �� d��_ �fd d ��j D��_ d S)zX :raises InvalidWheelFilename: when the filename is invalid for a wheel z!%s is not a valid wheel filename.rWrpr\Zver�buildZpyverrZabiZplatcs.h|]&}�jD]}�jD]}|||f�qqqSr:)�abis�plats)r�r��y�z�r�r:r;� �s �z!Wheel.__init__..N)� wheel_file_rertr r�rur6rWrZ build_tagr^Z pyversionsrr� file_tags)r�r�Z wheel_infor:r r;�__init__�s �  �zWheel.__init__cCstdd�|jD��S)zF Return the wheel's tags as a sorted list of strings. css|]}t|�VqdSr�)r�r��tagr:r:r;r��sz0Wheel.get_formatted_file_tags..)r�r#r r:r:r;�get_formatted_file_tags�szWheel.get_formatted_file_tagscst�fdd�|jD��S)a� Return the lowest index that one of the wheel's file_tag combinations achieves in the given list of supported tags. For example, if there are 8 supported tags and one of the file tags is first in the list, then return 0. :param tags: the PEP 425 tags to check the wheel against, in order with most preferred first. :raises ValueError: If none of the wheel's file tags match one of the supported tags. c3s |]}|�kr��|�VqdSr�)�indexr%��tagsr:r;r��sz*Wheel.support_index_min..)�minr#�r�r*r:r)r;�support_index_min�szWheel.support_index_mincCs|j�|� S)z� Return whether the wheel is compatible with one of the given tags. :param tags: the PEP 425 tags to check the wheel against. )r#� isdisjointr,r:r:r;� supported�szWheel.supportedN) r�r�r��__doc__r��compile�VERBOSEr"r$r'r-r/r:r:r:r;r�s�rz([a-z0-9_.]+)-([a-z0-9_.!+-]+)cCst|�|��S)zjDetermine whether the string looks like an egg_info. :param s: The string to parse. E.g. foo-2.1 )�bool�search)r~Z _egg_info_rer:r:r;�_contains_egg_infosr5cCs�|jr dS|jr&|s"t�d|j�dS|s.dS|js:|js>dS||�sXt�d|j�dS|jrj|jjrjdS|j}|� �\}}|r�t |�r�dSdS)a[ Return whether to build an InstallRequirement object using the ephemeral cache. :param cache_available: whether a cache directory is available for the should_unpack=True case. :return: True or False to build the requirement with ephem_cache=True or False, respectively; or None not to build the requirement. Nz(Skipping %s, due to already being wheel.FzCSkipping wheel build for %s, due to binaries being disabled for it.T) Z constraintZis_wheelr��inforWZeditabler�linkZis_vcs�splitextr5)r�� should_unpack�cache_available�check_binary_allowedr7�baseZextr:r:r;�should_use_ephemeral_cache s4� �  r=cCs^t|�}d�|�}|s |d7}n:t��tjkr8|d7}n"|�d�sJ|d7}|d�|t�7}|S)z1 Format command information for logging. zCommand arguments: {} zCommand output: Nonez'Command output: [use --verbose to show]r|zCommand output: {}{})rr�r�ZgetEffectiveLevel�logging�DEBUGr�r)� command_args�command_outputZ command_desc�textr:r:r;�format_command_resultGs    rCcCsxt|�}|s4d�|j�}|t||�7}t�|�dSt|�dkrfd�|j|�}|t||�7}t�|�tj� ||d�S)zH Return the path to the wheel in the temporary build directory. z1Legacy build of wheel for {!r} created no files. Nr1zZLegacy build of wheel for {!r} created more than one file. Filenames (choosing first): {} r) r�r�rWrCr�r�rBr3r4r_)�names�temp_dirr�r@rAr r:r:r;�get_legacy_build_wheel_path^s$ ��  �� rFcCsdS)NTr:)rpr:r:r;� _always_true~srGc@s\eZdZdZddd�Zddd�Zddd �Zd d �Zdd d �Zddd�Z dd�Z ddd�Z dS)� WheelBuilderz#Build wheels from a RequirementSet.NFcCsD|dkr t}||_||_|j|_|p&g|_|p0g|_||_||_dSr�) rG�preparer� wheel_cacheZwheel_download_dir� _wheel_dir� build_options�global_optionsr;�no_clean)r�rIrJrLrMr;rNr:r:r;r$�s   zWheelBuilder.__init__c Cs.|j�|j|||d�W5QR�SQRXdS)ziBuild one wheel. :return: The filename of the built wheel, or None if the build failed. �� python_tagN)Z build_env�_build_one_inside_env)r�r�� output_dirrPr:r:r;� _build_one�s�zWheelBuilder._build_onec Cs�tdd���}|jr|j}n|j}|||j|d�}|dk r�tj�|�}tj�||�}zNt|�\} } t � ||�t � d|j || | ���t � d|�|WW5QR�Stk r�YnX|�|�W5QR�dSQRXdS)Nry)ZkindrOz3Created wheel for %s: filename=%s size=%d sha256=%szStored in directory: %s)rZ use_pep517�_build_one_pep517�_build_one_legacyr4r3r�r_rIr�rr�r6rWZ hexdigestr� _clean_one) r�r�rRrPrEZbuilder� wheel_path� wheel_nameZ dest_pathZ wheel_hashrFr:r:r;rQ�s.    �  z"WheelBuilder._build_one_inside_envcCst|j|jdd�S)NT)rMZunbuffered_output)rZ setup_py_pathrM)r�r�r:r:r;�_base_setup_args�s �zWheelBuilder._base_setup_argsc Cs�|jrt�d|jf�dSz~t�d|�td�|j��}|j}|�|��|j ||j d�}W5QRX|r�t ||�}t � t j�||�t j�||��|}Wn$tk r�t�d|j�YdSXt j�||�S)z�Build one InstallRequirement using the PEP 517 build process. Returns path to wheel if successfully built. Otherwise, returns None. zGCannot build wheel for %s using PEP 517 when --build-options is presentN�Destination directory: %szBuilding wheel for {} (PEP 517))�metadata_directory�Failed building wheel for %s)rLr��errorrWrrr�Zpep517_backendZsubprocess_runnerZ build_wheelr[rar3�renamer4r_r)r�r��tempdrPZrunnerZbackendrX�new_namer:r:r;rT�s6�  � �   �zWheelBuilder._build_one_pep517c Cs�|�|�}d|jf}t|���}t�d|�|dd|g|j}|dk rT|d|g7}zt||j|d�}Wn8tk r�|� d�t� d |j�YW5QR�dSXt � |�} t | ||||d �} | W5QR�SQRXdS) z�Build one InstallRequirement using the "legacy" build process. Returns path to wheel if successfully built. Otherwise, returns None. z Building wheel for %s (setup.py)rZZ bdist_wheelz-dNz --python-tag)�cwd�spinnerr]r\)rDrEr�r@rA)rYrWrr�rrLrZunpacked_source_directoryrZfinishr]r3rrrF) r�r�r_rP� base_argsZ spin_messagerbZ wheel_args�outputrDrWr:r:r;rU�s8     � �   �zWheelBuilder._build_one_legacycCsb|�|�}t�d|j�|ddg}zt||jd�WdStk r\t�d|j�YdSXdS)NzRunning setup.py clean for %sZcleanz--all)raTz Failed cleaning build dir for %sF)rYr�r6rWrrrr])r�r�rcZ clean_argsr:r:r;rVs  zWheelBuilder._clean_onec Cs�g}t|jj�}|D]\}t||||jd�}|dkr4q|r\|rL|j�|j�}qb|j�|j�}n|j}|� ||f�q|szgSt � dd� dd�|D���d}|r�t j}t���gg} } |D]�\}}z t|�WnFtk �r} z&t �d|j| �| � |�WY�q�W5d} ~ XYnX|j|||d�} | �r�| � |�|�r�|j�rXt|j��sXtd ��|��|�|jj�|_tt| ��|_t|jj|j�q�| � |�q�W5QRX| �r�t � d d � d d�| D���| �r�t � d d � dd�| D���| S)aBuild wheels. :param should_unpack: If True, after building the wheel, unpack it and replace the sdist with the unpacked version in preparation for installation. :return: True if all the wheels built correctly. )r9r:r;Nz*Building wheels for collected packages: %sr�cSsg|]\}}|j�qSr:�rW)r�r�rpr:r:r;r�\sz&WheelBuilder.build..z Building wheel for %s failed: %srOzbad source dir - missing markerzSuccessfully built %sr}cSsg|] }|j�qSr:re�r�r�r:r:r;r��szFailed to build %scSsg|] }|j�qSr:rerfr:r:r;r��s) r3rJ� cache_dirr=r;Zget_ephem_path_for_linkr7Zget_path_for_linkrKr�r�r6r_r Zimplementation_tagrr�OSErrorr�rWrSrr�AssertionErrorZremove_temporary_sourceZensure_build_locationrIZ build_dirrrrZ file_path) r�Z requirementsr9Zbuildsetr:r�Z ephem_cacherRrPZ build_successZ build_failurer Z wheel_filer:r:r;r#s� ���   � � ������zWheelBuilder.build)NNNF)N)N)N)N)F) r�r�r�r0r$rSrQrYrTrUrVrr:r:r:r;rH�s�   ' %�rH)r=)r=)FNNTNFNT)r0Z __future__rr�rrr@r>Zos.pathr3r�r�r�rUr��base64rZ email.parserrZ pip._vendorrZpip._vendor.distlib.scriptsrZpip._vendor.distlib.utilrZpip._vendor.packaging.utilsrZpip._vendor.sixr Z pip._internalr Zpip._internal.exceptionsr r r Zpip._internal.locationsrrZpip._internal.models.linkrZpip._internal.utils.loggingrZ pip._internal.utils.marker_filesrZpip._internal.utils.miscrrrZ$pip._internal.utils.setuptools_buildrZpip._internal.utils.subprocessrrrrZpip._internal.utils.temp_dirrZpip._internal.utils.typingrZpip._internal.utils.uirZpip._internal.utils.unpackingrZpip._internal.utils.urlsr�typingr r!r"r#r$r%r&r'r(r)r*r+Z"pip._vendor.packaging.requirementsr,Zpip._internal.req.req_installr-Z pip._internal.operations.preparer.Zpip._internal.cacher/Zpip._internal.pep425tagsr0rOZInstalledCSVRowr3ZBinaryAllowedPredicaterZ getLoggerr�r�r<rIrPr[raror1r2rsr{r�r�r�r�rr�r�r�rrrr�objectr�Ir5r=rCrFrGrHr:r:r:r;�s�                  8          � =$ � 4 J � :