관리-도구
편집 파일: __init__.cpython-311.pyc
� �Re� � �` � d dl Z d dlZd dlmZmZmZmZmZ d dlm Z ddl mZ ddlm Z ddlmZ g d�Z ej e� � Z G d � d � � Zdee deeee f fd �Zdee dee dee dee dee dee dedededee fd�ZdS )� N)�Iterator�List�Optional�Sequence�Tuple)� indent_log� )�parse_requirements)�InstallRequirement)�RequirementSet)r r r �install_given_reqsc �* � e Zd Zdeddfd�Zdefd�ZdS )�InstallationResult�name�returnNc � � || _ d S )N�r )�selfr s ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/req/__init__.py�__init__zInstallationResult.__init__ s � ��� � � � c � � d| j �d�S )NzInstallationResult(name=�)r )r s r �__repr__zInstallationResult.__repr__ s � �8�$�)�8�8�8�8r )�__name__� __module__�__qualname__�strr r � r r r r sQ � � � � � ��S� �T� � � � �9�#� 9� 9� 9� 9� 9� 9r r �requirementsr c # �R K � | D ]!}|j s J d|� �� � �|j |fV � �"d S )Nz%invalid to-be-installed requirement: r )r �reqs r �_validate_requirementsr# sU � � � � � � ���x�F�F�F��F�F�F�F�F��h��m������ r �install_options�global_options�root�home�prefix�warn_script_location� use_user_site� pycompilec �( � t j t | � � � � } | r@t � dd� | � � � � � � � g } t � � 5 | � � � D ]�\ }}|j rXt � d|� � t � � 5 |� d�� � } ddd� � n# 1 swxY w Y nd} |� ||||||||�� � | r|j r| � � � n,# t $ r | r|j s| � � � � w xY w| � t# |� � � � �� ddd� � n# 1 swxY w 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)�auto_confirmN)r&