Updated supported Python versions

* Drop 2.7
* Add 3.7 and 3.8
This commit is contained in:
Brian May
2020-05-21 07:18:40 +10:00
parent 6c21addde9
commit 9f27c1943b
5 changed files with 12 additions and 25 deletions

2
run
View File

@ -7,8 +7,6 @@ python_best_version() {
if [ -x "$(command -v python3)" ] &&
python3 -c "import sys; sys.exit(not sys.version_info > (3, 5))"; then
exec python3 "$@"
elif [ -x "$(command -v python2.7)" ]; then
exec python2.7 "$@"
else
exec python "$@"
fi