the lib (pyx) is in lib and the pure python code (api) in src
but ...
this works fine on most of computers
but doesn't on some : the setup.py doesn't call cython to create the cpp source file
don't know why
hope this helps
bibi21000
Hi bibi21000,
I have had a look at your setup.py. Please correct me if I am wrong but, in your case your C++ library (libopenzwave) is already installed system-wide and you provide the relevant wrappers (.pyx) and path to the static library in the build process within your setup.py.
In my case, the library (libcstat) is not compiled, neither statically or dynamically. I have a folder with the sources and headers + a pxd with some wrapper code which I want to import later on in other modules, like the printfff one. Since, the library is not installed, I guess it has to be part of the build process in the setup.py.
Thanks for this first piece of advice, other suggestions ?
Ghis