Comment 4 for bug 1290847

Revision history for this message
Barry Warsaw (barry) wrote : Re: [Bug 1290847] Re: pyvenv fails due to mising ensurepip module

On Apr 11, 2014, at 09:27 PM, Matthias Klose wrote:

> - if pyvenv3 is called with --system-site-packages, then don't require
> ensurepip at all, but try to import the system python3-pip and fail with
> an import error if it fails, pointing the user to install python3-pip

This doesn't work currently (at least in my limited testing). python3-pip
doesn't install into the right location in a venv.

>- when called without --system-site-packages:
> provide a wheel package/something which is built from the system supplied
> python-pip, setuptools, distlib, ... packages and then used in the
> venv. Maybe use rewheel for this, but in any case build this in a separate
> source.

We'll have to do some work on rewheel to make it work recursively (e.g. all
the bundles that the bundles) and then package it up in PyPI and then the
archive. But I think this is the right long term solution.