I have just compiled part of my C library as an extension using Cython, as a \"proof of concept\". I managed to hack the code (const correctnes problems etc aside), to final
I solve it by
def cinit(self): pass
Hope it helps.