blob: 7099a7c1b0142be3e21d304ad45f6fcb430bfbac [file] [log] [blame]
export PYTHONPATH=''
export PYTHONPATH=`pwd`/libs/utils:$PYTHONPATH
export PYTHONPATH=`pwd`/libs/wlgen:$PYTHONPATH
if [ "x$DEVMODE" == "x1" ]; then
export PYTHONPATH=`pwd`/libs/devlib:$PYTHONPATH
export PYTHONPATH=`pwd`/libs/trappy:$PYTHONPATH
export PYTHONPATH=`pwd`/libs/bart:$PYTHONPATH
echo
echo 'Developer mode ENABLED, using libraries provided by submodules'
echo 'PYTHONPATH: '
echo $PYTHONPATH
echo
if [ ! -f libs/devlib/README.rst ]; then
echo 'Initializing submodules...'
git submodule init
fi
echo 'Update submodules if required'
git submodule update
echo 'DONE'
fi