Switch to the USTC mirror because it doesn't require SNI.

Old Python versions don't understand SNI and raise SNIMissingWarning on connecting.
This commit is contained in:
Erik Rose 2017-10-04 09:59:29 -04:00
parent 32b0727a32
commit 0a43883d81
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ for arg in "$@" ; do
--no-bootstrap)
NO_BOOTSTRAP=1;;
--pypi-mirror)
export PIP_INDEX_URL="https://pypi.doubanio.com/simple";;
export PIP_INDEX_URL="https://mirrors.ustc.edu.cn/pypi/web/simple";;
--help)
HELP=1;;
--noninteractive|--non-interactive|renew)

View file

@ -68,7 +68,7 @@ for arg in "$@" ; do
--no-bootstrap)
NO_BOOTSTRAP=1;;
--pypi-mirror)
export PIP_INDEX_URL="https://pypi.doubanio.com/simple";;
export PIP_INDEX_URL="https://mirrors.ustc.edu.cn/pypi/web/simple";;
--help)
HELP=1;;
--noninteractive|--non-interactive|renew)