U n ao @sddlmZddlZddlmZddlmZddlmZddl m Z ddl m Z erhdd l mZmZmZd d d d gZeeZGdddeZddd ZdS))absolute_importN) indent_log)MYPY_CHECK_RUNNING)parse_requirements)InstallRequirement)RequirementSet)AnyListSequencerrrinstall_given_reqsc@seZdZddZddZdS)InstallationResultcCs ||_dS)Nname)selfrr[C:\Users\vtejo\AppData\Local\Temp\pip-unpacked-wheel-6mt8ur68\pip\_internal\req\__init__.py__init__szInstallationResult.__init__cCs d|jS)NzInstallationResult(name={!r}))formatr)rrrr__repr__szInstallationResult.__repr__N)__name__ __module__ __qualname__rrrrrrr sr rc Os|r tdddd|Dg}t|D]}|jrftd|jt|jdd}W5QRXz|j||f||Wn0tk r|jo|j }|r| YnX|jo|j } | r| | t |jq0W5QRX|S)zu Install everything in the given list. (to be called after having downloaded and unpacked the packages) z!Installing collected packages: %sz, cSsg|] }|jqSrr).0reqrrr 5sz&install_given_reqs..zAttempting uninstall: %sT) auto_confirm)loggerinfojoinrshould_reinstallr uninstallinstall Exceptioninstall_succeededrollbackcommitappendr ) to_installinstall_optionsglobal_optionsargskwargs installed requirementuninstalled_pathsetshould_rollback should_commitrrrr $sJ)r) __future__rloggingpip._internal.utils.loggingrpip._internal.utils.typingrreq_filer req_installrreq_setrtypingr r r __all__ getLoggerrrobjectr r rrrrs"