ó fWG`c@sõddlmZddlZddlZddlZddlZddlZddlZddlZddgZ d„Z ddgZ dd„Z d „Zd „Zdeeeed d „Zdeeeed d „Zd d„Zdd„ZdS(iÿÿÿÿ(tprint_functionNtversiont bootstrapcCs$tr tdƒtjdƒndS(Ns¥ensurepip is disabled in Debian/Ubuntu for the system python. Python modules For the system python are usually handled by dpkg and apt-get. apt-get install python- Install the python-pip package to use pip itself. Using pip together with the system python might have unexpected results for any system installed module, so use it on your own risk, or make sure to only use it in virtual environments. i(tTruetprinttsystexit(((s(/usr/lib/python2.7/ensurepip/__init__.pyt _ensurepip_is_disabled_in_debians t setuptoolstpipcCs;|dk r|tjt_nddl}|jj|ƒS(Niÿÿÿÿ(tNoneRtpatht pip._internalt _internaltmain(targstadditional_pathsR ((s(/usr/lib/python2.7/ensurepip/__init__.pyt_run_pip%s  cCsmtƒd}tjd|ƒ}t|ƒdkrStjj|dƒjdƒdStd||fƒ‚dS(sA Returns a string specifying the bundled version of pip. R s!/usr/share/python-wheels/%s-*.whliit-sbmissing dependency wheel %s. Installation of the python-%s-whl package is needed to use ensurepip.N(RtglobtlentosR tbasenametsplitt RuntimeError(twhl_namet wheel_names((s(/usr/lib/python2.7/ensurepip/__init__.pyR/s !cCsZgtjD]}|jdƒr |^q }x|D]}tj|=q2Wtjtjd( R t ImportErrortFalset __version__t _PIP_VERSIONRR.RtstderrR"RRARB(R(R tmsgR((s(/usr/lib/python2.7/ensurepip/__init__.pyt_uninstall_helper±s "c Cs}ddl}|jddƒ}|jdddddjtƒƒdd ƒ|jd d dd d dddddƒ|jddddd tddƒ|jdddd tddƒ|jdd dddƒ|jdddd tddƒ|jdddd tddd|jƒ|jddddddd ƒ|j |ƒ}t d!|j d"|j d#|j d|jd$|jd|jƒS(%Niÿÿÿÿtprogspython -m ensurepips --versiontactionRspip {}thelps9Show the version of pip that is bundled with this Python.s-vs --verbosetcounttdefaultiR<R(sDGive more output. Option is additive, and can be used up to 3 times.s-Us --upgradet store_trues8Upgrade pip and dependencies, even if already installed.s--usersInstall using the user scheme.s--roots=Install everything relative to this alternate root directory.s --altinstallsoMake an alternate install, installing only the X.Y versioned scripts (Default: pipX, pipX.Y, easy_install-X.Y).s --default-pipR's--no-default-pipt store_falsesLMake a non default install, installing only the X and X.Y versioned scripts.R#R$R%R&(targparsetArgumentParsert add_argumentR.RRQR RtSUPPRESSt parse_argsR)R#R$R%R(R&R'(targvR^tparserR((s(/usr/lib/python2.7/ensurepip/__init__.pyt_mainÎsf         (t __future__RRRtos.pathtpkgutilRGRRCt__all__RRBR RRR"RQRRR)RVRe(((s(/usr/lib/python2.7/ensurepip/__init__.pyts,             Y