Parcourir la source

Fix get-pip.py URLs for older versions of Python (#403)

pull/413/head
jivanf il y a 2 ans
committed by GitHub
Parent
révision
c3110d874e
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. +4
    -1
      bin/pyenv-virtualenv

+ 4
- 1
bin/pyenv-virtualenv Voir le fichier

@ -479,7 +479,10 @@ if [ -z "${GET_PIP_URL}" ]; then
# Use custom get-pip URL based on the target version (#1127)
case "${PYENV_VERSION}" in
2.6 | 2.6.* )
GET_PIP_URL="https://bootstrap.pypa.io/2.6/get-pip.py"
GET_PIP_URL="https://bootstrap.pypa.io/pip/2.6/get-pip.py"
;;
2.7 | 2.7.* )
GET_PIP_URL="https://bootstrap.pypa.io/pip/2.7/get-pip.py"
;;
3.2 | 3.2.* )
GET_PIP_URL="https://bootstrap.pypa.io/3.2/get-pip.py"

Chargement…
Annuler
Enregistrer