[python] set rpath in setup.cfg
authordtk <dtk@gmx.de>
Wed, 12 Oct 2011 14:55:30 +0000 (16:55 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:40 +0000 (09:39 -0800)
e5/071064a588238783f665dca5eaf2e2eaf981ed [new file with mode: 0644]

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