eris/install-dependencies
Andrew Hamilton ba1d6b62bb Coding style.
- Use a standard requirements.txt file for python dependencies.
2021-10-31 16:12:57 +10:00

17 lines
411 B
Bash
Executable file

#!/bin/bash
set -e
DIST_ID=$(cat /etc/os-release | grep "^ID=" | cut -d "=" -f 2)
if [ $DIST_ID != "ubuntu" ]; then
echo "Eris can only be installed on Ubuntu."
exit 1
fi
echo "Installing the dependencies of the eris script…"
sudo apt --yes install python3-pip python3.9 util-linux
python3.9 -m pip install -r requirements.txt
echo
echo "Installing all the tools eris may need…"
./install-tools