Generated bootstrap script's install_pip isn't specific enough #340

Pewpewarrows opened this Issue Sep 28, 2012 · 0 comments


None yet
1 participant

Steps to reproduce:

  1. Generate a bootstrap script using virtualenv.create_bootstrap_script()
  2. Populate a local directory of python packages to look at, include:
  3. Attempt to create a virtualenv using the bootstrap script generate in step 1 as follows: python ./ENV --never-download --extra-search-dir python_packages/

The install_pip function in the generated bootstrap file will incorrectly pick the other package that begins with "pip-", and treat it as the real pip package to install. Because of this, the real pip is never installed into the virtualenv, and thus the command is unavailable for use.

The regex for finding the package should be more specific, or it should run some sort of test to determine which package is the real pip.

@dstufft dstufft referenced this issue Jan 5, 2015


Rewrite virtualenv #697

0 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment