This repository holds some test code for playing with Cython to wrap a C library with callbacks in Python.
Enter a Python environment with the cython
package installed:
conda create -n cython-env cython ipython
source activate cython-env
Then build the extension module using the command below, which will trigger the C library build as well:
cd pyfoo
make
Run the test script either with
make test
or
python test_prog.py