aboutsummaryrefslogtreecommitdiff
path: root/bindings/python-cffi/tests
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2020-06-09 15:32:27 +0300
committerDavid Bremner <david@tethera.net>2020-06-09 23:06:03 -0300
commit963e363a234f1c8bdf1ae68956f80a2538bee7dc (patch)
treeabd1bb8477d4ab898730f85a1aa8d0b1fc26d9bd /bindings/python-cffi/tests
parent411229f26b8e71b78411b0e9dae1cd27a00f15b8 (diff)
configure: use cffi.FFI().verify() to test buildability of CFFI bindings
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.
Diffstat (limited to 'bindings/python-cffi/tests')
0 files changed, 0 insertions, 0 deletions