add superbuild to the python path

pull/249/head
edgarriba 2015-12-16 15:10:38 +00:00
rodzic 8e30e578a7
commit 9e8bf891d6
1 zmienionych plików z 7 dodań i 4 usunięć

Wyświetl plik

@ -82,7 +82,7 @@ fi
## Installing Ecto Requisites ## Installing Ecto Requisites
echo -e "\e[1;34mInstalling Ecto Dependencies\e[0;39m" echo -e "\e[1;34mInstalling Ecto Dependencies\e[0;39m"
sudo pip install -U catkin-pkg sudo pip install catkin-pkg
sudo apt-get install python-empy \ sudo apt-get install python-empy \
python-nose \ python-nose \
python-pyside -y python-pyside -y
@ -107,6 +107,9 @@ fi
## Get sys vars ## Get sys vars
NUM_CORES=`grep -c processor /proc/cpuinfo` NUM_CORES=`grep -c processor /proc/cpuinfo`
## Add SuperBuild path to the python path
export PYTHONPATH=$PYTHONPATH:`pwd`/SuperBuild/install/lib/python2.7/dist-packages
## Compile SuperBuild ## Compile SuperBuild
cd SuperBuild cd SuperBuild
mkdir -p build && cd build mkdir -p build && cd build