Fix for Ubuntu 20.04

This commit is contained in:
Thiago Alves 2020-06-05 15:21:52 -04:00 committed by GitHub
parent 85a6504668
commit ad9a70f432
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 6 deletions

View File

@ -23,15 +23,17 @@ fi
function linux_install_deps {
$1 apt-get update
$1 apt-get install -y build-essential pkg-config bison flex autoconf \
automake libtool make git python2.7 python-pip \
sqlite3 cmake git
automake libtool make git python2.7 \
sqlite3 cmake git curl
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
$1 python2 get-pip.py
}
function install_py_deps {
$1 pip install flask
$1 pip install flask-login
$1 pip install pyserial
$1 pip install pymodbus
$1 pip2 install flask
$1 pip2 install flask-login
$1 pip2 install pyserial
$1 pip2 install pymodbus
}
function install_all_libs {