move from download.chia to pypi.chia.net/simple/

This commit is contained in:
Gene Hoffman 2021-03-08 15:06:58 -08:00 committed by Gene Hoffman
parent 348424fcf7
commit d77bc07ac4
3 changed files with 6 additions and 6 deletions

View File

@ -43,13 +43,13 @@ steps:
python -m pip install --upgrade pip
pip install wheel pep517 setuptools_scm
node -v
pip install -i https://download.chia.net/simple/ miniupnpc==2.1
pip install -i https://pypi.chia.net/simple/ miniupnpc==2.1
displayName: "Install dependencies"
- script: |
. ./activate
clang --version
pip wheel --use-pep517 --extra-index-url https://download.chia.net/simple/ --wheel-dir=wheels .
pip wheel --use-pep517 --extra-index-url https://pypi.chia.net/simple/ --wheel-dir=wheels .
pip install --no-index --find-links=./wheels/ chia-blockchain
displayName: "Build and install wheels"

View File

@ -10,7 +10,7 @@ git status
Write-Output " ---"
Write-Output "curl miniupnpc"
Write-Output " ---"
Invoke-WebRequest -Uri "https://download.chia.net/simple/miniupnpc/miniupnpc-2.1-cp37-cp37m-win_amd64.whl" -OutFile "miniupnpc-2.1-cp37-cp37m-win_amd64.whl"
Invoke-WebRequest -Uri "https://pypi.chia.net/simple/miniupnpc/miniupnpc-2.1-cp37-cp37m-win_amd64.whl" -OutFile "miniupnpc-2.1-cp37-cp37m-win_amd64.whl"
Write-Output "Using win_amd64 python 3.7 wheel from https://github.com/miniupnp/miniupnp/pull/475 (2.2.0-RC1)"
If ($LastExitCode -gt 0){
Throw "Failed to download miniupnpc!"
@ -48,7 +48,7 @@ Write-Output " ---"
Write-Output " ---"
Write-Output "Build chia-blockchain wheels"
Write-Output " ---"
pip wheel --use-pep517 --extra-index-url https://download.chia.net/simple/ -f . --wheel-dir=.\build_scripts\win_build .
pip wheel --use-pep517 --extra-index-url https://pypi.chia.net/simple/ -f . --wheel-dir=.\build_scripts\win_build .
Write-Output " ---"
Write-Output "Install chia-blockchain wheels into venv with pip"

View File

@ -100,8 +100,8 @@ pip install --upgrade pip
pip install wheel
#if [ "$INSTALL_PYTHON_VERSION" = "3.8" ]; then
# This remains in case there is a diversion of binary wheels
pip install --extra-index-url https://download.chia.net/simple/ miniupnpc==2.1
pip install -e . --extra-index-url https://download.chia.net/simple/
pip install --extra-index-url https://pypi.chia.net/simple/ miniupnpc==2.1
pip install -e . --extra-index-url https://pypi.chia.net/simple/
echo ""
echo "Chia blockchain install.sh complete."