Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / e5 / 071064a588238783f665dca5eaf2e2eaf981ed
1 Return-Path: <dtk@gmx.de>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 9EAF6431FD0\r
6         for <notmuch@notmuchmail.org>; Wed, 12 Oct 2011 07:55:35 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
12         tests=[FREEMAIL_FROM=0.001] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id vLQWZCulGjzX for <notmuch@notmuchmail.org>;\r
16         Wed, 12 Oct 2011 07:55:33 -0700 (PDT)\r
17 Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68])\r
18         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id A5AF0431FB6\r
21         for <notmuch@notmuchmail.org>; Wed, 12 Oct 2011 07:55:33 -0700 (PDT)\r
22 Received: from mail.jade-hamburg.de (unknown [85.183.11.228])\r
23         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
24         (No client certificate requested)\r
25         by mail.cryptobitch.de (Postfix) with ESMTPSA id BDCCA508EA7\r
26         for <notmuch@notmuchmail.org>; Wed, 12 Oct 2011 16:55:31 +0200 (CEST)\r
27 Received: by mail.jade-hamburg.de (Postfix, from userid 33)\r
28         id CF84DDF29F; Wed, 12 Oct 2011 16:55:30 +0200 (CEST)\r
29 To: <notmuch@notmuchmail.org>\r
30 Subject: [python] set rpath in setup.cfg\r
31 X-PHP-Originating-Script: 0:func.inc\r
32 MIME-Version: 1.0\r
33 Date: Wed, 12 Oct 2011 16:55:30 +0200\r
34 From: dtk <dtk@gmx.de>\r
35 Message-ID: <6d84224ab757d84968df4db3a7b00fcb@jadE-Hamburg.de>\r
36 X-Sender: dtk@gmx.de\r
37 User-Agent: RoundCube Webmail/0.3.1\r
38 Content-Transfer-Encoding: 8bit\r
39 Content-Type: text/plain;\r
40  charset=UTF-8\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Wed, 12 Oct 2011 14:55:35 -0000\r
54 \r
55 \r
56 Hey guys,\r
57 \r
58 I installed notmuch locally (~/.local) and now the python bindings fail to\r
59 find the .so.\r
60 \r
61 Anyone happens to know how to set the rpath in the setup.cfg? Putting it\r
62 in the [build] section doesn't work:\r
63 \r
64 ~~~snip~~~\r
65 $ python setup.py install --prefix=$STOW/notmuch_python\r
66 running install\r
67 error: error in setup.cfg: command 'build' has no such option 'rpath'\r
68 $\r
69 ~~~snip~~~\r
70 \r
71 Putting it in [build_ext] works but neither that nor building with\r
72 \r
73 ~~~snip~~~\r
74 $ python setup.py build_ext --rpath=/home/dtk/.local/lib\r
75 running build_ext\r
76 $ python setup.py install --prefix=$STOW/notmuch_python/\r
77 running install\r
78 running build\r
79 running build_py\r
80 copying notmuch/database.py -> build/lib.linux-x86_64-2.7/notmuch\r
81 copying notmuch/thread.py -> build/lib.linux-x86_64-2.7/notmuch\r
82 copying notmuch/tag.py -> build/lib.linux-x86_64-2.7/notmuch\r
83 copying notmuch/globals.py -> build/lib.linux-x86_64-2.7/notmuch\r
84 copying notmuch/version.py -> build/lib.linux-x86_64-2.7/notmuch\r
85 copying notmuch/message.py -> build/lib.linux-x86_64-2.7/notmuch\r
86 copying notmuch/filename.py -> build/lib.linux-x86_64-2.7/notmuch\r
87 copying notmuch/__init__.py -> build/lib.linux-x86_64-2.7/notmuch\r
88 running install_lib\r
89 running install_egg_info\r
90 Removing\r
91 /home/dtk/.local/stow/notmuch_python//lib/python2.7/site-packages/notmuch-0.9_rc2-py2.7.egg-info\r
92 Writing\r
93 /home/dtk/.local/stow/notmuch_python//lib/python2.7/site-packages/notmuch-0.9_rc2-py2.7.egg-info\r
94 $\r
95 ~~~snip~~~\r
96 \r
97 seems to have any effect.\r
98 \r
99 Am I missing out on something? Would be great if someone happened to know\r
100 a solution.\r
101 /me dislikes LD_LIBRARY_PATH :/\r
102 \r
103 tx in advance\r
104 dtk\r