Commit 3ae92377 by Eric Coissac

Use the newly created bootstrap function for installing pip

parent f4862403
......@@ -6,18 +6,13 @@ Created on 2 oct. 2014
import re
import os
import sys
from obidistutils.serenity.rerun import rerun_with_anothe_python
try:
import pip # @UnresolvedImport
from pip.utils import get_installed_distributions # @UnresolvedImport
except ImportError:
import ensurepip
ensurepip.bootstrap(upgrade=True,
default_pip=True
)
rerun_with_anothe_python(sys.executable)
from .bootstrappip import bootstrap
bootstrap()
from distutils.version import StrictVersion # @UnusedImport
from distutils.errors import DistutilsError
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment