willowgarage/catkin — Issue #45: catkin_export_python adds src directory even if it doesn't exist
Author: kwc
Created: 2012-01-05 22:34:34+00:00
State: open

The overloading of catkin_export_python for both setup.py and paths, as well as its use in message packages appears to cause this very frequent warning in the builds:

>CMake Warning at catkin/cmake/catkin_export_python.cmake:22 (message):
catkin_export_python: Python directory
/home/rosbuild/hudson/workspace/catkin-wet.PLEASE.DONT.BREAK.THIS.BUILD/src/ros_comm/src
not found
Call Stack (most recent call first):
ros_comm/CMakeLists.txt:24 (catkin_export_python)

and for messages:

> catkin_export_python: Python directory
/home/rosbuild/hudson/workspace/catkin-wet.PLEASE.DONT.BREAK.THIS.BUILD/src/common_msgs/actionlib_msgs/src
not found
Call Stack (most recent call first):
/home/rosbuild/hudson/workspace/catkin-wet.PLEASE.DONT.BREAK.THIS.BUILD/build/cmake/genpy/genpy-extras.cmake:85 (catkin_export_python)
/home/rosbuild/hudson/workspace/catkin-wet.PLEASE.DONT.BREAK.THIS.BUILD/build/common_msgs/actionlib_msgs/cmake/actionlib_msgs-genmsg.cmake:44 (_generate_module_py)
catkin/cmake/em_expand.cmake:26 (include)
/home/rosbuild/hudson/workspace/catkin-wet.PLEASE.DONT.BREAK.THIS.BUILD/build/cmake/genmsg/genmsg-extras.cmake:97 (em_expand)
common_msgs/actionlib_msgs/catkin.cmake:11 (generate_messages)
common_msgs/actionlib_msgs/CMakeLists.txt:2 (include)