Move binary wheels into install.sh
This commit is contained in:
parent
8f7b33687f
commit
1f97b4dd3d
17
INSTALL.md
17
INSTALL.md
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue