瀏覽代碼

Update `get-pip.py` URLs in `pyenv-virtualenv` (#426)

pull/430/head
Nick 2 年之前
committed by GitHub
父節點
當前提交
cc9d5f168e
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 12 次插入3 次删除
  1. +12
    -3
      bin/pyenv-virtualenv

+ 12
- 3
bin/pyenv-virtualenv 查看文件

@ -485,13 +485,22 @@ if [ -z "${GET_PIP_URL}" ]; then
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"
GET_PIP_URL="https://bootstrap.pypa.io/pip/3.2/get-pip.py"
;;
3.3 | 3.3.* )
GET_PIP_URL="https://bootstrap.pypa.io/3.3/get-pip.py"
GET_PIP_URL="https://bootstrap.pypa.io/pip/3.3/get-pip.py"
;;
3.4 | 3.4.* )
GET_PIP_URL="https://bootstrap.pypa.io/pip/3.4/get-pip.py"
;;
3.5 | 3.5.* )
GET_PIP_URL="https://bootstrap.pypa.io/pip/3.5/get-pip.py"
;;
3.6 | 3.6.* )
GET_PIP_URL="https://bootstrap.pypa.io/pip/3.6/get-pip.py"
;;
* )
GET_PIP_URL="https://bootstrap.pypa.io/get-pip.py"
GET_PIP_URL="https://bootstrap.pypa.io/pip/get-pip.py"
;;
esac
fi

Loading…
取消
儲存