-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generated bootstrap script's install_pip isn't specific enough #340
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a comment if you want to keep it open. Thank you for your contributions. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to reproduce:
virtualenv.create_bootstrap_script()
python bootstrap.py ./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.
The text was updated successfully, but these errors were encountered: