Nicolas Trangez <[email protected]> wrote: > AFAIK most of the time in Python land checking whether an extension can > be built is not done in some configure script, but in setup.py itself, > which makes more sense IMHO since building the fastbinary extension is a > lib/py detail which shouldn't clutter configure.ac if possible. > > Nicolas >
It's true that most of the time this is done in setup.py, but most of the time it is checked through failure. I would personally prefer it done in both places if configure can buy us any sort of time *not* trying to invoke a C compiler first. simplejson has an excellent _speedups extension that uses setup.py for build detection (MIT licensed) and could probably be used for inspiration. Michael
