관리-도구
편집 파일: __init__.cpython-38.pyc
U ��.e� � @ s� d dl mZ d dlZd dlmZ d dlmZ ddlmZ ddl m Z ddlmZ erhd d l mZmZmZ d ddd gZe�e�Zddd �ZdS )� )�absolute_importN)� indent_log)�MYPY_CHECK_RUNNING� )�parse_requirements)�InstallRequirement)�RequirementSet)�Any�List�Sequencer r r �install_given_reqs� c O s� | r t �dd�dd� | D ��� t� �� | D ]�}|jrbt �d|j� t� � |jdd�}W 5 Q R X z|j||f|�|� W n0 tk r� |jo�|j }|r�|� � � Y nX |jo�|j}|r�|� � |�� q,W 5 Q R X | S )zu Install everything in the given list. (to be called after having downloaded and unpacked the packages) z!Installing collected packages: %sz, c S s g | ] }|j �qS r )�name)�.0Zreqr r �>/usr/lib/python3.8/site-packages/pip/_internal/req/__init__.py� <listcomp>+ s z&install_given_reqs.<locals>.<listcomp>zFound existing installation: %sT)Zauto_confirm)�logger�info�joinr Zconflicts_withZ uninstallZinstall� ExceptionZinstall_succeededZrollbackZcommitZremove_temporary_source) Z to_installZinstall_optionsZglobal_options�args�kwargsZrequirementZuninstalled_pathsetZshould_rollbackZ should_commitr r r r sN ��������)r )Z __future__r ZloggingZpip._internal.utils.loggingr Zpip._internal.utils.typingr Zreq_filer Zreq_installr Zreq_setr �typingr r r �__all__Z getLogger�__name__r r r r r r �<module> s � �