ó â\e[c@@sddlmZddlZddlmZddlmZddlmZddl m Z dd d d gZ ej e ƒZd d „ZdS(i(tabsolute_importNi(tInstallRequirement(tRequirementSet(tparse_requirements(t indent_logRRRtinstall_given_reqsc O@s$|r8tjddjg|D]}|j^qƒƒntƒŬxĠ|D]Í}|jrtjd|jƒtƒ|jdtƒ}WdQXny|j||||ŽWn:t k rĉ|joÊ|j }|rà|j ƒn‚n&X|joö|j } | r |j ƒn|j ƒqIWWdQX|S(su Install everything in the given list. (to be called after having downloaded and unpacked the packages) s!Installing collected packages: %ss, sFound existing installation: %st auto_confirmN(tloggertinfotjointnameRtconflicts_witht uninstalltTruetinstallt Exceptiontinstall_succeededtrollbacktcommittremove_temporary_source( t to_installtinstall_optionstglobal_optionstargstkwargstreqt requirementtuninstalled_pathsettshould_rollbackt should_commit((s9/tmp/pip-install-0xiv62/pip/pip/_internal/req/__init__.pyRs>)              ((t __future__Rtloggingt req_installRtreq_setRtreq_fileRtpip._internal.utils.loggingRt__all__t getLoggert__name__RR(((s9/tmp/pip-install-0xiv62/pip/pip/_internal/req/__init__.pyts