This gist demonstrates how to setup a python project that process a numpy array from C language.
To compile the project, run
make all
To test it, run
make test
latest version of gist: https://gist.github.com/kanhua/8f1eb7c67f5a031633121b6b187b8dc9