Skip to content

sturlamolden/cython-cpp-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

This shows how to use Cython to wrap C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published