C Python wrapper generated by CMake example This example was built from this BLOG: https://bloerg.net/2012/11/10/cmake-and-distutils.html
Note: INSTALL_DIR represents your target installation directory
git clone https://github.com/jacquemier/cmake_python_wrapper.git mkdir build cmake ../cmake_python_wrapper/v2 -DCMAKE_INSTALL_PREFIX=INSTALL_DIR make install
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:INSTALL_DIR/lib python >>> import foo >>> foo.square(10)