Commit a46a4185 authored by Laurent Bachelier's avatar Laurent Bachelier 🐧
Browse files

tools: Support for all Python 3 versions

This is starting to get quite repetitive though.
parent 81406310
......@@ -14,6 +14,8 @@ if [ -z "${PYTHON}" ]; then
which python2.7 >/dev/null 2>&1 && PYTHON=$(which python2.7)
else
which python3.4 >/dev/null 2>&1 && PYTHON=$(which python3.4)
which python3.5 >/dev/null 2>&1 && PYTHON=$(which python3.5)
which python3.6 >/dev/null 2>&1 && PYTHON=$(which python3.6)
fi
fi
......
......@@ -14,6 +14,8 @@ if [ -z "${PYTHON}" ]; then
which python2.7 >/dev/null 2>&1 && PYTHON=$(which python2.7)
else
which python3.4 >/dev/null 2>&1 && PYTHON=$(which python3.4)
which python3.5 >/dev/null 2>&1 && PYTHON=$(which python3.5)
which python3.6 >/dev/null 2>&1 && PYTHON=$(which python3.6)
fi
fi
......
......@@ -16,6 +16,8 @@ if [ -z "${PYTHON}" ]; then
which python2.7 >/dev/null 2>&1 && PYTHON=$(which python2.7)
else
which python3.4 >/dev/null 2>&1 && PYTHON=$(which python3.4)
which python3.5 >/dev/null 2>&1 && PYTHON=$(which python3.5)
which python3.6 >/dev/null 2>&1 && PYTHON=$(which python3.6)
fi
fi
......
......@@ -70,6 +70,8 @@ if [ -z "${PYTHON}" ]; then
which python2.7 >/dev/null 2>&1 && PYTHON=$(which python2.7)
else
which python3.4 >/dev/null 2>&1 && PYTHON=$(which python3.4)
which python3.5 >/dev/null 2>&1 && PYTHON=$(which python3.5)
which python3.6 >/dev/null 2>&1 && PYTHON=$(which python3.6)
fi
fi
......@@ -81,6 +83,8 @@ if [ -z "${NOSE}" ]; then
which nosetests-python2.7 >/dev/null 2>&1 && NOSE=$(which nosetests-python2.7)
else
which nosetests-python3.4 >/dev/null 2>&1 && NOSE=$(which nosetests-python3.4)
which nosetests-python3.5 >/dev/null 2>&1 && NOSE=$(which nosetests-python3.5)
which nosetests-python3.6 >/dev/null 2>&1 && NOSE=$(which nosetests-python3.6)
fi
fi
......
......@@ -16,6 +16,8 @@ if [ -z "${PYTHON}" ]; then
which python2.7 >/dev/null 2>&1 && PYTHON=$(which python2.7)
else
which python3.4 >/dev/null 2>&1 && PYTHON=$(which python3.4)
which python3.5 >/dev/null 2>&1 && PYTHON=$(which python3.5)
which python3.6 >/dev/null 2>&1 && PYTHON=$(which python3.6)
fi
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment