Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to use Python setuptools to build a Python extension

I'd like to do some heavy lifting in C++ but write most of the high-level logic for my package in Python. Consequently, I'd like to have a ROS package in which the build step compiles a C++ source code file under the direction of Python distutils. (This is generally the right way to compile C/C++ code so that all the configuration options are such that the same options used to compile Python are used for the extension module.)

Is there an example somewhere in the ROS world of building a Python extension using distutils (and consequently setup.py) under the direction of the standard ROS CMake packaging stuff?

How to use Python setuptools to build a Python extension

I'd like to do some heavy lifting in C++ but write most of the high-level logic for my package in Python. Consequently, I'd like to have a ROS package in which the build step compiles a C++ source code file under the direction of Python distutils. (This is generally the right way to compile C/C++ code so that all the configuration options are such that the same options used to compile Python are used for the extension module.)

Is there an example somewhere in the ROS world of building a Python extension using distutils (and consequently setup.py) under the direction of the standard ROS CMake packaging stuff?

How to use Python setuptools to build a Python extension

I'd like to do some heavy lifting in C++ but write most of the high-level logic for my package in Python. Consequently, I'd like to have a ROS package in which the build step compiles a C++ source code file under the direction of Python distutils. (This is generally the right way to compile C/C++ code so that all the configuration options are such that the same options used to compile Python are used for the extension module.)

Is there an example somewhere in the ROS world of building a Python extension using distutils (and consequently setup.py) under the direction of the standard ROS CMake packaging stuff?

How to use Python setuptools to build a Python extension

I'd like to do some heavy lifting in C++ but write most of the high-level logic for my package in Python. Consequently, I'd like to have a ROS package in which the build step compiles a C++ source code file under the direction of Python distutils. (This is generally the right way to compile C/C++ code so that all the configuration options are such that the same options used to compile Python are used for the extension module.)

Is there an example somewhere in the ROS world of building a Python extension using distutils (and consequently setup.py) under the direction of the standard ROS CMake packaging stuff?