sturlamolden/cython-cpp-test
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This is a self-contained example of how to wrap C++ with Cython. Assuming you have Python, Cython, Git and a C++ compiler installed, all you need to do is: $ git clone https://github.com/sturlamolden/cython-cpp-test $ cd cython-cpp-test $ python setup.py build_ext --inplace $ python test.py Written by Sturla Molden, Dec. 2014 Use at your own risk. This code is in the public domain.