Skip to content

Commit c3110d8

Browse files
author
jivanf
authored
Fix get-pip.py URLs for older versions of Python (#403)
1 parent f95d6a9 commit c3110d8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/pyenv-virtualenv

+4-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,10 @@ if [ -z "${GET_PIP_URL}" ]; then
479479
# Use custom get-pip URL based on the target version (#1127)
480480
case "${PYENV_VERSION}" in
481481
2.6 | 2.6.* )
482-
GET_PIP_URL="https://bootstrap.pypa.io/2.6/get-pip.py"
482+
GET_PIP_URL="https://bootstrap.pypa.io/pip/2.6/get-pip.py"
483+
;;
484+
2.7 | 2.7.* )
485+
GET_PIP_URL="https://bootstrap.pypa.io/pip/2.7/get-pip.py"
483486
;;
484487
3.2 | 3.2.* )
485488
GET_PIP_URL="https://bootstrap.pypa.io/3.2/get-pip.py"

0 commit comments

Comments
 (0)