thewtex / cython-cmake-example

Utilities and example for using CMake to build Cython modules - migrated to scikit-build
https://scikit-build.org/
Apache License 2.0
160 stars 41 forks source link

dynamic module does not define module export function (PyInit_...) #19

Open a-z-e-r-i-l-a opened 4 years ago

a-z-e-r-i-l-a commented 4 years ago

Hi,

I wanted to ask if you know a way to have the generated wrapper python3 compatible. I had a try that was only usable by python2 and for python3 it gives the error:

dynamic module does not define module export function (PyInit_..)

Could the source of this issue be in the cmake scripts?

Thank you.

thewtex commented 4 years ago

This modules are now maintained in scikit-build -- please try scikit-build.