Bump Python to 3.7 for xenial
diff --git a/bin/apt-dependencies.sh b/bin/apt-dependencies.sh
index 8e66f74..aef984f 100755
--- a/bin/apt-dependencies.sh
+++ b/bin/apt-dependencies.sh
@@ -78,6 +78,16 @@
reprepro createrepo rsync \
vim-tiny screen \
+if [[ ${VERSION_CODENAME} == "xenial" ]]; then
+ apt install -y software-properties-common
+ add-apt-repository ppa:deadsnakes/ppa
+ apt-get update
+ apt install -y python3.7 python3.7-dev
+ rm /usr/bin/python3
+ ln -s /usr/bin/python3.7 /usr/bin/python3
+ pip3 install setuptools
+fi
+
# Node.js
if [ "${ARCH}" == "ppc64le" ]; then
apt-get install -y nodejs npm