Using Cython To Link Python To A Shared Library
I am trying to integrate a third party library written in C with my python application using Cython . I have all of the python code written for a test. I am having trouble finding an example for setting this up. I have a pyd/pyx file I created manually. The third party has given me a header file (*.h) and a shared library (*.so) . As far as I can tell, there are no other dependencies. Can someone provide an example of how to set this up using Cython and disutils ? Thanks Sure ! (In the following, I assume that you already know how to deal with cimport and the interactions between .pxd and .pyx