OpenMTC/apps/prep-env.sh

14 lines
256 B
Bash
Raw Permalink Normal View History

2017-11-07 13:41:38 +00:00
#!/usr/bin/env sh
cd ../common
. ../common/prep-env.sh
cd ../apps
_SRC_PATH="../openmtc-app/src"
_READLINK_PATH="$(readlink ${_SRC_PATH})"
PYTHONPATH=${PYTHONPATH}:$(pwd)/${_READLINK_PATH:-${_SRC_PATH}}
echo PYTHONPATH: ${PYTHONPATH}
export PYTHONPATH