OwlCyberSecurity - MANAGER
Edit File: __init__.cpython-39.pyc
a )��e� � @ s� d dl Z d dlZd dlmZmZmZmZmZ d dlm Z ddl mZ ddlm Z ddlmZ g d�Ze�e�ZG d d � d �Zee eeee f ddf d�dd �Zee ee ee ee ee ee eeeee d� dd�ZdS )� N)� Generator�List�Optional�Sequence�Tuple)� indent_log� )�parse_requirements)�InstallRequirement)�RequirementSet)r r r �install_given_reqsc @ s* e Zd Zedd�dd�Zed�dd�ZdS )�InstallationResultN)�name�returnc C s || _ d S )N�r )�selfr � r �[/home/gouroczh/virtualenv/pat/3.9/lib/python3.9/site-packages/pip/_internal/req/__init__.py�__init__ s zInstallationResult.__init__)r c C s d| j �d�S )NzInstallationResult(name=�)r )r r r r �__repr__ s zInstallationResult.__repr__)�__name__� __module__�__qualname__�strr r r r r r r s r )�requirementsr c c s. | D ]$}|j sJ d|� ���|j |fV qd S )Nz%invalid to-be-installed requirement: r )r �reqr r r �_validate_requirements s r ) r �install_options�global_options�root�home�prefix�warn_script_location� use_user_site� pycompiler c C s t �t| ��} | r(t�dd�| �� �� g } t� �� | �� D ]�\}}|j r�t�d|� t� � |j dd�} W d � q�1 s~0 Y nd} z|j||||||||d� W n& ty� | r�|j s�| �� � Y n0 | r�|j r�| �� | �t|�� q<W d � n1 �s0 Y | S )zu Install everything in the given list. (to be called after having downloaded and unpacked the packages) z!Installing collected packages: %sz, zAttempting uninstall: %sT)Zauto_confirmN)r r! r"