Blame view

testPythonWrapper.sh 318 Bytes
Michał Lenart authored
1
2
3
4
#!/bin/bash
echo "testing python wrapper"
PROJECT_BINARY_DIR=$1
export LD_LIBRARY_PATH="$PROJECT_BINARY_DIR/morfeusz:$PROJECT_BINARY_DIR/morfeusz/wrappers/python/build/lib.linux-x86_64-2.7"
Michał Lenart authored
5
6
export PYTHONPATH=`find "$PROJECT_BINARY_DIR" -name _morfeusz2.so -print -quit | xargs dirname`
echo $PYTHONPATH
Michał Lenart authored
7
python test.py