Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 447 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 447 Bytes

python-cpp-wrapper

Simple example for wrapping C/C++ for python. This project is based on official python documentation: https://docs.python.org/3.6/extending/extending.html

Build the wrapper

The wrapper needs to be build with linked library before being importable into some python code

python setup.py build_ext --inplace

Run the test suite

Simply executes:

python test.py