eccodes/examples/python/include.sh

26 lines
522 B
Bash
Raw Normal View History

2014-03-31 16:15:20 +00:00
CMAKE_INCLUDE_FILE=include.ctest.sh
if [ -f "$CMAKE_INCLUDE_FILE" ]; then
# This is the config file for Cmake tests
. ./$CMAKE_INCLUDE_FILE
2013-03-25 12:04:10 +00:00
2014-03-31 16:15:20 +00:00
else
set -ea
echo
echo "TEST: $0"
2013-03-25 12:04:10 +00:00
2014-03-31 16:15:20 +00:00
cpath=$TOPBUILDDIR
GRIB_DEFINITION_PATH=$cpath/definitions
export GRIB_DEFINITION_PATH
GRIB_SAMPLES_PATH=$cpath/samples
export GRIB_SAMPLES_PATH
tools_dir=$cpath/tools/
examples_dir=$cpath/examples/python
data_dir=$cpath/data
2013-03-25 12:04:10 +00:00
2014-03-31 16:15:20 +00:00
PYTHONPATH=$cpath/python:$cpath/python/.libs:$PYTHONPATH
export PYTHONPATH
2013-03-25 12:04:10 +00:00
2014-03-31 16:15:20 +00:00
set -u
2013-03-25 12:04:10 +00:00
2014-03-31 16:15:20 +00:00
fi