Re: [RFC PATCH] python-cffi out-of-tree build

Subject: Re: [RFC PATCH] python-cffi out-of-tree build

Date: Sun, 31 Oct 2021 21:28:18 +0200

To: David Bremner,


From: Tomi Ollila

On Sun, Oct 31 2021, David Bremner wrote:

> Tomi Ollila <> writes:
>> and to refer some other files based on directory
>> where is located (os.path.dirname(sys.argv[0]).
>> Dropped bindings/python-cffi/version.txt and refer ../../version.txt
>> instead -- already refers ../../lib so why have version.txt
>> twice (with identical content).
>> Dropped copying of bindings/python-cffi source files to the build
>> directory bindings/python-cffi in configure.
> Apologies, I think I did not read this discussion very carefully
> before. I guess [1] is an alternative to the first two points. I'm not
> sure which approach is better. Mine is a bigger hammer, but maybe that
> could be useful in the future?
> The patch at [1] does not (by itself) allow the third change, but
> probably some similar hacking of, but using the newly created
> would work.
> Tomi, did you happen to test "pip install ." with your approach? I'm
> afraid your patch doesn't (easily) apply anymore so I was too lazy to
> test myself.

IIRC my approaches had quite a few problems which I thought soon after
emailing so probablhy your versions are better. Have to look...


> Cheers,
> db
> [1]:
> _______________________________________________
> notmuch mailing list --
> To unsubscribe send an email to
notmuch mailing list --
To unsubscribe send an email to