2013-11-22 20:01:32 +00:00
|
|
|
#!/bin/bash
|
|
|
|
UNAME=$(uname -s)
|
2014-04-29 01:02:14 +00:00
|
|
|
export CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
2013-11-22 20:01:32 +00:00
|
|
|
if [ ${UNAME} = 'Darwin' ]; then
|
2014-05-12 16:20:24 +00:00
|
|
|
export DYLD_LIBRARY_PATH="${CURRENT_DIR}/src/":${DYLD_LIBRARY_PATH}
|
2013-11-22 20:01:32 +00:00
|
|
|
else
|
2014-05-12 16:20:24 +00:00
|
|
|
export LD_LIBRARY_PATH="${CURRENT_DIR}/src/":${LD_LIBRARY_PATH}
|
2013-11-22 20:01:32 +00:00
|
|
|
fi
|
2015-01-09 21:51:04 +00:00
|
|
|
export PYTHONPATH="${CURRENT_DIR}/bindings/python/":$PYTHONPATH
|
2014-10-21 05:28:15 +00:00
|
|
|
export MAPNIK_FONT_DIRECTORY="${CURRENT_DIR}/fonts/dejavu-fonts-ttf-2.34/ttf/"
|
2013-11-22 20:01:32 +00:00
|
|
|
export MAPNIK_INPUT_PLUGINS_DIRECTORY="${CURRENT_DIR}/plugins/input/"
|
2014-10-23 07:06:40 +00:00
|
|
|
export PATH="${CURRENT_DIR}/utils/mapnik-config":${PATH}
|
2015-01-09 21:49:31 +00:00
|
|
|
export PATH="${CURRENT_DIR}/utils/nik2img":${PATH}
|