#!/bin/sh if [ -z "$top_srcdir" ]; then echo "*** top_srcdir must be set" exit 1 fi # If no top_builddir is set, use top_srcdir : "${top_builddir:=$top_srcdir}" if [ -z "$PYTHONPATH" ]; then PYTHONPATH="${top_builddir}/pyanaconda/isys/.libs:${top_srcdir}/pyanaconda:${top_srcdir}:${top_srcdir}/tests/lib" else PYTHONPATH="${PYTHONPATH}:${top_builddir}/pyanaconda/isys/.libs:${top_srcdir}/pyanaconda:${top_srcdir}:${top_srcdir}/tests/lib" fi if [ -z "$LD_LIBRARY_PATH" ]; then LD_LIBRARY_PATH="${top_builddir}/widgets/src/.libs" else LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${top_builddir}/widgets/src/.libs" fi ANACONDA_INSTALL_CLASSES="${top_builddir}/pyanaconda/installclasses" GI_TYPELIB_PATH="${top_builddir}/widgets/src" export ANACONDA_INSTALL_CLASSES export GI_TYPELIB_PATH export LD_LIBRARY_PATH export PYTHONPATH export top_srcdir export top_builddir # This must be added to gi.overrides.__path__ by any test requiring the # AnacondaWidgets gi-overrides export ANACONDA_WIDGETS_OVERRIDES="${top_srcdir}/widgets/python"