Robotics StackExchange | Archived questions

Launch python extension build with catkin_make

Hello guys,

trying to solve this problem slowly drives me crazy.

ros_pkg/
|    CMakeLists.txt     ------+ should run that setup.py in setup.py`s directory as working dir
|    package.xml              |
|        ...                  |
|    python_pkg/              |
|    |     __init__.py        v
|    |    setup.py         <--------- builds extensions using cython, distutils and sources below
|    |    sub_pkg_1/
|    |       ...
|    |    sub_pkg_N/

As the picture shows, i am trying to include the python script that builds some python extensions into some shared libs. However, no matter how i play around using catkinpythonsetup() or the install command, it won't work. I have also tried to use CMake's execute_process but it does nothing.

Has anyone an idea how to do that right?

best regards

Asked by changeyourstrings on 2016-07-25 09:35:23 UTC

Comments

Answers