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.
|
Install dependencies for Ubuntu 18.04, Ubuntu 19.x or newer.
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get update
|
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
|
# Either checkout the source and install
|
||||||
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
|
|
||||||
git clone https://github.com/Chia-Network/chia-blockchain.git
|
git clone https://github.com/Chia-Network/chia-blockchain.git
|
||||||
cd chia-blockchain
|
cd chia-blockchain
|
||||||
|
|
||||||
|
@ -39,6 +32,12 @@ sh install.sh
|
||||||
. ./activate
|
. ./activate
|
||||||
|
|
||||||
# Or install chia-blockchain as a package
|
# 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
|
pip install chia-blockchain==1.0.beta2
|
||||||
|
|
||||||
. /activate
|
. /activate
|
||||||
|
|
|
@ -26,6 +26,7 @@ fi
|
||||||
|
|
||||||
if [ `uname` = "Linux" ] && type apt-get; then
|
if [ `uname` = "Linux" ] && type apt-get; then
|
||||||
# Debian/Ubuntu
|
# Debian/Ubuntu
|
||||||
|
LINUX=1
|
||||||
sudo apt-get install -y npm
|
sudo apt-get install -y npm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -41,7 +42,10 @@ fi
|
||||||
. ./activate
|
. ./activate
|
||||||
# pip 20.x+ supports Linux binary wheels
|
# pip 20.x+ supports Linux binary wheels
|
||||||
pip install --upgrade pip
|
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 .
|
pip install -e .
|
||||||
|
|
||||||
cd ./electron-ui
|
cd ./electron-ui
|
||||||
|
|
Loading…
Reference in New Issue