Move binary wheels into install.sh

This commit is contained in:
Gene Hoffman 2020-04-05 13:50:47 -07:00
parent 8f7b33687f
commit 1f97b4dd3d
No known key found for this signature in database
GPG Key ID: AE8989DA18CADC80
2 changed files with 13 additions and 10 deletions

View File

@ -21,16 +21,9 @@ sh install.sh
Install dependencies for Ubuntu 18.04, Ubuntu 19.x or newer.
```bash
sudo apt-get update
sudo apt-get install python3.7-venv git -y
sudo apt-get install python3-venv git -y
python3.7 -m venv venv
ln -s venv/bin/activate
. ./activate
pip install --upgrade pip
pip install -i https://hosted.chia.net/simple/ miniupnpc==0.1.dev5 setproctitle==1.1.10 cbor2==5.0.1
deactivate
# Either checkout the source
# Either checkout the source and install
git clone https://github.com/Chia-Network/chia-blockchain.git
cd chia-blockchain
@ -39,6 +32,12 @@ sh install.sh
. ./activate
# Or install chia-blockchain as a package
python3 -m venv venv
ln -s venv/bin/activate
. ./activate
pip install --upgrade pip
pip install -i https://hosted.chia.net/simple/ miniupnpc==0.1.dev5 setproctitle==1.1.10 cbor2==5.0.1
pip install chia-blockchain==1.0.beta2
. /activate

View File

@ -26,6 +26,7 @@ fi
if [ `uname` = "Linux" ] && type apt-get; then
# Debian/Ubuntu
LINUX=1
sudo apt-get install -y npm
fi
@ -41,7 +42,10 @@ fi
. ./activate
# pip 20.x+ supports Linux binary wheels
pip install --upgrade pip
pip install -i https://hosted.chia.net/simple/ miniupnpc==0.1.dev5 setproctitle==1.1.10 cbor2==5.0.1
if [ $LINUX ] then
# Linux binary wheels
pip install -i https://hosted.chia.net/simple/ miniupnpc==0.1.dev5 setproctitle==1.1.10 cbor2==5.0.1
fi
pip install -e .
cd ./electron-ui