A cookiecutter template for using cppyy to generate python bindings for c++ code
cookiecutter command line:
pip install cookiecutter
Generate a new Cookiecutter template layout:
You will then be prompted to fill in the values for your project. The project name
can contain spaces; by default, they will be replaced by dashes for the repo name (the name
of the generated folder with the project skeleton) and underscores for the package name
(the name of the python package for the generated bindings).
cpp_lib_name is the name
of the C++ library being wrapped; it should be different from the
pkg_name. You needn't
prefix it will "lib," as this will be done for the resulting shared libraries by CMake.
cpp_namespace is the project namespace for the generated code. You don't necessarily need
to keep this in your final project, but for the love of god please namespace your C++ libraries...
This project is licensed under the terms of the MIT License