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

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

Date: Sun, 31 Oct 2021 08:40:28 -0300

To: Tomi Ollila,


From: David Bremner

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.



notmuch mailing list --
To unsubscribe send an email to