[PATCH v2] configure: use cffi.FFI().verify() to test buildability of CFFI bindings

David Bremner david at tethera.net
Wed Jun 10 03:20:41 PDT 2020


Tomi Ollila <tomi.ollila at iki.fi> writes:

> Checking existence of pyconfig.h to determine whether CFFI-based
> notmuch bindings are buildable is not enough; for example Fedora 32
> ships pyconfig.h in python3-libs package, but python3-devel is required
> to be installed for the bindings to build.
>
> Executing cffi.FFI().verify() is pretty close to what is done in
> bindings/python-cffi/notmuch2/_build.py to get the c code part of the
> bindings built.

v2 pushed to master and release

d



More information about the notmuch mailing list