Commit cf4407a6 authored by Johan Bloemberg's avatar Johan Bloemberg

Add check for python3.6 binary in direnv.

parent fd627c7c
Pipeline #18525671 passed with stages
in 13 minutes and 15 seconds
......@@ -7,6 +7,11 @@ export NETWORK_SUPPORTS_IPV6=1
# record path of Python executable outside of Tox environment to prevent conflicts
export PYTHON_BIN=$(which python3.6)
if test -z "$PYTHON_BIN"; then
echo "Please make sure Python3.6 is installed! https://www.python.org/downloads/"
exit 1
fi
# use virtualenv created by Tox for development
export PATH=$PWD/.tox/default/bin/:$PATH
export VIRTUAL_ENV=$PWD/.tox/default/
......
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