In the root of the repository:
sudo ./setup.hAnywhere:
create_pyc_module <module_name>
$EDITOR <module_name>/<module_name>_src.cppThen, import your c++ functions or classes and wrap them according to boost::python API or a small the most necessary part in syntax_guide.
Then, compile it, using:
compile_pyc_module <module_name>This command will create the <module_name>.so file, which acts like real python module
In the same folder with <module_name>.so:
import <module_name>or
from <module_name> import <something_from_the_module> or anyway you want.
sudo ./uninstall.sh