Remove support for 3.6

This commit is contained in:
Matthias
2020-12-14 19:18:54 +01:00
parent 66d5271ada
commit 9f5c4ead15
10 changed files with 26 additions and 27 deletions
+10 -9
View File
@@ -25,6 +25,14 @@ function check_installed_python() {
return
fi
which python3.9
if [ $? -eq 0 ]; then
echo "using Python 3.9"
PYTHON=python3.9
check_installed_pip
return
fi
which python3.7
if [ $? -eq 0 ]; then
echo "using Python 3.7"
@@ -33,16 +41,9 @@ function check_installed_python() {
return
fi
which python3.6
if [ $? -eq 0 ]; then
echo "using Python 3.6"
PYTHON=python3.6
check_installed_pip
return
fi
if [ -z ${PYTHON} ]; then
echo "No usable python found. Please make sure to have python3.6 or python3.7 installed"
echo "No usable python found. Please make sure to have python3.7 or greater installed"
exit 1
fi
}
@@ -302,7 +303,7 @@ function help() {
echo " -p,--plot Install dependencies for Plotting scripts."
}
# Verify if 3.6 or 3.7 is installed
# Verify if 3.7 or 3.8 is installed
check_installed_python
case $* in