Viewing File: /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/req/__pycache__/__init__.cpython-35.pyc



t_=@sddlmZddlZddlZddlmZddlmZddlm	Z	ddl
mZddlm
Z
erdd	lmZmZmZmZmZd
ddd
gZejeZGdddeZddZdd
ZdS))absolute_importN)
indent_log)MYPY_CHECK_RUNNING)parse_requirements)InstallRequirement)RequirementSet)IteratorListOptionalSequenceTuplerrrinstall_given_reqsc@s(eZdZddZddZdS)InstallationResultcCs
||_dS)N)name)selfrr/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-1.el7.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/req/__init__.py__init__szInstallationResult.__init__cCsdj|jS)NzInstallationResult(name={!r}))formatr)rrrr__repr__szInstallationResult.__repr__N)__name__
__module____qualname__rrrrrrrsrccsAx:|D]2}|js+tdj||j|fVqWdS)Nz'invalid to-be-installed requirement: {})rAssertionErrorr)requirementsreqrrr_validate_requirements"s
rc	$CsMtjt|}	|	r:tjddj|	jg}
tx|	jD]\}}|j	rtjd|t|j
dd}
WdQRXnd}
y8|j||d|d|d	|d
|d|d|Wn/tk
r|
r
|j
r
|
jYnX|
r+|j
r+|
j|
jt|qWWWdQRX|
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: %sauto_confirmTNroothomeprefixwarn_script_location
use_user_site	pycompile)collectionsOrderedDictrloggerinfojoinkeysritemsshould_reinstall	uninstallinstall	Exceptioninstall_succeededrollbackcommitappendr)rinstall_optionsglobal_optionsrr r!r"r#r$
to_install	installedreq_namerequirementuninstalled_pathsetrrrr+s@
	
	


)
__future__rr%loggingpip._internal.utils.loggingrpip._internal.utils.typingrreq_filerreq_installrreq_setrtypingr	r
rrr
__all__	getLoggerrr'objectrrrrrrr<module>s(
	
Back to Directory File Manager