diff --git a/.env b/.env index f144aa6..a71086e 100644 --- a/.env +++ b/.env @@ -13,4 +13,8 @@ MULTIPROCESS_THREADS=2 # The settings below should be left as is unless you know what you're doing. # We want to create the pipenv virtualenv in the current folder -PIPENV_VENV_IN_PROJECT=1 \ No newline at end of file +PIPENV_VENV_IN_PROJECT=1 + +# Need to set pythonpath so that relative imports can be properly used in with pipenv +# Refer to https://stackoverflow.com/q/52986500 and https://stackoverflow.com/a/49797761 +PYTHONPATH=${PWD} \ No newline at end of file