[PATCH 3/5] build: optionally build python-cffi bindings

David Bremner david at tethera.net
Mon Nov 4 16:32:34 PST 2019


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

> how bad does out-of-tree build break with this -- do we need to do
> the same as with ruby bindings (copy sources -- do we still do so)? or does
> python provide better alternative..?

Good question.  What is here will break with out of tree builds, just
from trivial things like missing $(srcdir). At a deeper level someone
would probably have to modify the build bits (python-cffi/setup.py,
python-cffi/notb/_build) to work out of tree.  I don't know how well any
of this is supported by the setuptools module. It seems more friendly to
the idea of building inside the source tree with destination outside,
but I'm really not a setuptools expert.

d


More information about the notmuch mailing list