U
ʗRe
@ s d dl Z d dlZd dlmZmZmZmZmZ d dlm Z ddl
mZ ddlm
Z
ddlmZ dd d
dgZeeZG dd
d
Zee
eeee
f ddf dddZee
ee ee ee ee ee eeeee d
ddZdS ) N) GeneratorListOptionalSequenceTuple)
indent_log )parse_requirements)InstallRequirement)RequirementSetr r
r install_given_reqsc @ s* e Zd ZeddddZedddZdS )InstallationResultN)namereturnc C s
|| _ d S )Nr )selfr r /builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_internal/req/__init__.py__init__ s zInstallationResult.__init__)r c C s d| j dS )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 std| |j |fV qd S )Nz%invalid to-be-installed requirement: )r AssertionError)r reqr r r _validate_requirements s r )
r install_optionsglobal_optionsroothomeprefixwarn_script_location
use_user_site pycompiler c C s t t| } | r(tdd| g }
t | D ]\}}|j rvtd| t |j
dd}
W 5 Q R X nd}
z|j||||||||d W n( tk
r |
r|j
s|
Y nX |
r|j
r|
|
t| q