change: set pypi index url to https://pypi.org/simple

This commit is contained in:
debugtalk
2022-06-14 14:02:28 +08:00
parent bea663f594
commit 8731f6800d
2 changed files with 3 additions and 2 deletions

View File

@@ -139,8 +139,8 @@ function main() {
if [[ -f $HOME/.hrp/venv/bin/pip3 ]]; then
echoInfo "Upgrade httprunner..."
echo "$ $HOME/.hrp/venv/bin/pip3 install --upgrade httprunner==$version"
$HOME/.hrp/venv/bin/pip3 install --upgrade httprunner==$version
echo "$ $HOME/.hrp/venv/bin/pip3 install --upgrade httprunner==$version --index-url https://pypi.org/simple"
$HOME/.hrp/venv/bin/pip3 install --upgrade httprunner==$version --index-url https://pypi.org/simple
fi
}