ubuntu1804-test-system-setup.sh (472B)
1 #!/usr/bin/env bash 2 3 set -ve 4 5 test "$(whoami)" == 'root' 6 7 cd /setup 8 9 # Install tooltool and node now that dependencies are in place. 10 . /setup/common.sh 11 . /setup/install-node.sh 12 13 # Upgrade pip and install virtualenv to specified versions. 14 pip install --upgrade pip==19.2.3 15 hash -r 16 pip install virtualenv==15.2.0 17 18 pip3 install -r /setup/psutil_requirements.txt 19 pip install -r /setup/psutil_requirements.txt 20 21 # Cleanup 22 cd / 23 rm -rf /setup ~/.ccache ~/.cache ~/.npm 24 rm -f "$0"