During an ubuntu image upgrade on Travis' side (specifically from
connie-trusty to sugilite-trusty, see here), the python binary is
installed into /opt/python/2.7.13 and the python search path is
updated accordingly.
However, since all ROS dependencies are installed by apt-get into
/usr/lib/python2.7 , this commit adds that location to the PYTHONPATH
environment variable to ensure that python is able to find all
required packages installed via apt-get.
This addresses the issue where the Travis build failed due to an
import error:
ImportError: "from catkin_pkg.package import parse_package" failed
No module named catkin_pkg.package
During an ubuntu image upgrade on Travis' side (specifically from connie-trusty to sugilite-trusty, see here), the python binary is installed into /opt/python/2.7.13 and the python search path is updated accordingly.
However, since all ROS dependencies are installed by apt-get into /usr/lib/python2.7 , this commit adds that location to the PYTHONPATH environment variable to ensure that python is able to find all required packages installed via apt-get.
This addresses the issue where the Travis build failed due to an import error:
This package was indeed installed, just inside
Fixes #9