Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 9EAF6431FD0 for ; Wed, 12 Oct 2011 07:55:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[FREEMAIL_FROM=0.001] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vLQWZCulGjzX for ; Wed, 12 Oct 2011 07:55:33 -0700 (PDT) Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id A5AF0431FB6 for ; Wed, 12 Oct 2011 07:55:33 -0700 (PDT) Received: from mail.jade-hamburg.de (unknown [85.183.11.228]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cryptobitch.de (Postfix) with ESMTPSA id BDCCA508EA7 for ; Wed, 12 Oct 2011 16:55:31 +0200 (CEST) Received: by mail.jade-hamburg.de (Postfix, from userid 33) id CF84DDF29F; Wed, 12 Oct 2011 16:55:30 +0200 (CEST) To: Subject: [python] set rpath in setup.cfg X-PHP-Originating-Script: 0:func.inc MIME-Version: 1.0 Date: Wed, 12 Oct 2011 16:55:30 +0200 From: dtk Message-ID: <6d84224ab757d84968df4db3a7b00fcb@jadE-Hamburg.de> X-Sender: dtk@gmx.de User-Agent: RoundCube Webmail/0.3.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Wed, 12 Oct 2011 14:55:35 -0000 Hey guys, I installed notmuch locally (~/.local) and now the python bindings fail to find the .so. Anyone happens to know how to set the rpath in the setup.cfg? Putting it in the [build] section doesn't work: ~~~snip~~~ $ python setup.py install --prefix=$STOW/notmuch_python running install error: error in setup.cfg: command 'build' has no such option 'rpath' $ ~~~snip~~~ Putting it in [build_ext] works but neither that nor building with ~~~snip~~~ $ python setup.py build_ext --rpath=/home/dtk/.local/lib running build_ext $ python setup.py install --prefix=$STOW/notmuch_python/ running install running build running build_py copying notmuch/database.py -> build/lib.linux-x86_64-2.7/notmuch copying notmuch/thread.py -> build/lib.linux-x86_64-2.7/notmuch copying notmuch/tag.py -> build/lib.linux-x86_64-2.7/notmuch copying notmuch/globals.py -> build/lib.linux-x86_64-2.7/notmuch copying notmuch/version.py -> build/lib.linux-x86_64-2.7/notmuch copying notmuch/message.py -> build/lib.linux-x86_64-2.7/notmuch copying notmuch/filename.py -> build/lib.linux-x86_64-2.7/notmuch copying notmuch/__init__.py -> build/lib.linux-x86_64-2.7/notmuch running install_lib running install_egg_info Removing /home/dtk/.local/stow/notmuch_python//lib/python2.7/site-packages/notmuch-0.9_rc2-py2.7.egg-info Writing /home/dtk/.local/stow/notmuch_python//lib/python2.7/site-packages/notmuch-0.9_rc2-py2.7.egg-info $ ~~~snip~~~ seems to have any effect. Am I missing out on something? Would be great if someone happened to know a solution. /me dislikes LD_LIBRARY_PATH :/ tx in advance dtk