Fixed badge URLs
[EVA-2020-02-2.git] / install.sh
CommitLineData
651e1c20
PH
1#!/bin/bash
2
3printf "{{LIBNAME:UC}} Python Library: Installer\n\n"
4
5if [ $(id -u) -ne 0 ]; then
6 printf "Script must be run as root. Try 'sudo ./install.sh'\n"
7 exit 1
8fi
9
10cd library
11
12printf "Installing for Python 2..\n"
13python setup.py install
14
15if [ -f "/usr/bin/python3" ]; then
16 printf "Installing for Python 3..\n"
17 python3 setup.py install
18fi
19
20cd ..
21
22printf "Done!\n"