dynamic PYTHONPATH setting based on actual openpilot location

pull/23322/head
Shane Smiskol 4 years ago
parent 699b20ed44
commit a78cb8c563
  1. 3
      tools/openpilot_env.sh

@ -1,5 +1,6 @@
OP_ROOT=$(git rev-parse --show-toplevel)
if [ -z "$OPENPILOT_ENV" ]; then
export PYTHONPATH="$HOME/openpilot:$PYTHONPATH"
export PYTHONPATH="$OP_ROOT:$PYTHONPATH"
export PATH="$HOME/.pyenv/bin:$PATH"
# Pyenv suggests we place the below two lines in .profile before we source

Loading…
Cancel
Save