From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 820D56DE01E3 for ; Mon, 4 Nov 2019 16:34:49 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.06 X-Spam-Level: X-Spam-Status: No, score=-0.06 tagged_above=-999 required=5 tests=[AWL=-0.059, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cEZNl4WeI0d2 for ; Mon, 4 Nov 2019 16:34:48 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 7D8E96DE0179 for ; Mon, 4 Nov 2019 16:34:48 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1iRmo0-0000AJ-In; Mon, 04 Nov 2019 19:34:44 -0500 Received: (nullmailer pid 20555 invoked by uid 1000); Tue, 05 Nov 2019 00:32:34 -0000 From: David Bremner To: Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH 3/5] build: optionally build python-cffi bindings In-Reply-To: References: <20191104013927.17037-1-david@tethera.net> <20191104013927.17037-4-david@tethera.net> Date: Mon, 04 Nov 2019 20:32:34 -0400 Message-ID: <87y2wvrwm5.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Nov 2019 00:34:49 -0000 Tomi Ollila 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