chia-blockchain/install-timelord.sh

17 lines
521 B
Bash
Raw Normal View History

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