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 C05D26DE0ECA for ; Mon, 14 Oct 2019 05:45:05 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.058 X-Spam-Level: X-Spam-Status: No, score=-0.058 tagged_above=-999 required=5 tests=[AWL=-0.057, 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 cKS1b_TLayW4 for ; Mon, 14 Oct 2019 05:45:05 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 259636DE09CD for ; Mon, 14 Oct 2019 05:45:05 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1iJzii-0003SM-DK; Mon, 14 Oct 2019 08:45:04 -0400 Received: (nullmailer pid 30924 invoked by uid 1000); Mon, 14 Oct 2019 12:42:53 -0000 From: David Bremner To: Floris Bruynooghe , notmuch@notmuchmail.org Subject: Re: Python3 cffi bindings In-Reply-To: <8736fvbivq.fsf@tethera.net> References: <20191008210312.20685-1-flub@devork.be> <8736fvbivq.fsf@tethera.net> Date: Mon, 14 Oct 2019 09:42:53 -0300 Message-ID: <87zhi3a46q.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: Mon, 14 Oct 2019 12:45:05 -0000 David Bremner writes: > The shim in > T391-python-cffi.sh doesn't work for me, it doesn't manage to set > PYTHONPATH so that notdb is importable. I should have mentioned that if I manually set python path with something like $ PYTHONPATH=`pwd`/build/lib.linux-x86_64-3.7:$PYTHONPATH pytest-3 it works OK. Is there a simple/reliable way of calculating the path lib.linux-x86_64-3.7? d