mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-20 08:05:33 +03:00
17 lines
521 B
Bash
17 lines
521 B
Bash
|
|
||
|
THE_PATH=`python -c 'import pkg_resources; print( pkg_resources.get_distribution("chiavdf").location)' 2> /dev/null`/vdf_client
|
||
|
|
||
|
if [ -e $THE_PATH ]
|
||
|
then
|
||
|
echo "vdf_client already exists, no action taken"
|
||
|
else
|
||
|
if [ -e venv/bin/python ]
|
||
|
then
|
||
|
echo "installing chiavdf from source"
|
||
|
echo venv/bin/python -m pip install --force --no-binary chiavdf chiavdf==0.12.1
|
||
|
venv/bin/python -m pip install --force --no-binary chiavdf chiavdf==0.12.1
|
||
|
else
|
||
|
echo "no venv created yet, please run install.sh"
|
||
|
fi
|
||
|
fi
|