ó ’,bc@sÚddlmZddlZddlZddlZddlZddlZddlZddlZddgZ d„Z ddgZ dd„Z d „Zd „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}|j|ƒdS(Niÿÿÿÿ(tNoneRtpathR tmain(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|=q2Wtjtjds&            Z