Hello everyone,
First, thank you for cffi, it's very nice.
I'm trying to make a module that can work in API or ABI mode. At install time (when the user enters "pip install thing"), I'd like my setup.py to first try making an API mode add-on, then if that fails, fall back to ABI mode.
This seems to work fine on my local machine, but I can't work out how to package it so pypi will accept it. It seems to like pure python modules, or modules which include some C, but not modules which can be either.
What's the best way to get where I want to go? Should I make two separate modules, one for API and one for ABI?
John