eris/install-dependencies
Andrew Hamilton 1cf2fc445c Revert "Move to python3.8.0"
This reverts commit 04fb17cb3f.
- Am seeing a bug where only one worker continues processing
  on python3.8.
- Ubuntu and freedesktop-sdk are still on 3.7.
- Not using any features of 3.8 yet.
- Also removes color from mypy.
2019-12-19 14:47:00 +10:00

20 lines
537 B
Bash
Executable file

#!/bin/bash
# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0.
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.7 util-linux
python3.7 -m pip install pyinotify pygments docopt pillow toml
echo
echo "Installing all the tools eris may need…"
./install-tools