unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [python] set rpath in setup.cfg
@ 2011-10-12 14:55 dtk
  2011-10-12 15:30 ` Ali Polatel
  0 siblings, 1 reply; 8+ messages in thread
From: dtk @ 2011-10-12 14:55 UTC (permalink / raw)
  To: notmuch


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-10-16 20:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12 14:55 [python] set rpath in setup.cfg dtk
2011-10-12 15:30 ` Ali Polatel
2011-10-13  6:12   ` dtk
2011-10-13  6:34     ` Jameson Graef Rollins
2011-10-13  7:09       ` Tomi Ollila
2011-10-13  7:59         ` dtk
2011-10-13  7:42       ` dtk
2011-10-16 20:04       ` Thomas Schwinge

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).