.envrc 546 Bytes
Newer Older
1
# enable DEBUG mode by default
2
export DEBUG=1
3

4
# during development, just have ipv6 on.
5 6
export NETWORK_SUPPORTS_IPV6=1

7 8 9
# record path of Python executable outside of Tox environment to prevent conflicts
export PYTHON_BIN=$(which python3.6)

10 11 12 13 14
if test -z "$PYTHON_BIN"; then
	echo "Please make sure Python3.6 is installed! https://www.python.org/downloads/"
	exit 1
fi

15
# use virtualenv created by Tox for development
16 17
export PATH=$PWD/.tox/default/bin/:$PATH
export VIRTUAL_ENV=$PWD/.tox/default/
18

19
# add tools to path
20
export PATH=$PWD/tools/:$PATH
21