Need to implement some code in Cpp for efficiency, but still want to use Python to rapidly develop the software. Test the boost.python lib to convert Cpp functions to python module. Take reference example from boost.python simple example and the makefile from Craig.
The hello_py.cpp File defines the module for each cpp functions
hello.hpp defines the cpp functions, included in the above file
The makefile used to build a shared library. The boost python lib might have different path or file name, need to change accordingly.
To test the module, export the shared library to PYTHONPATH first. Then try: