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 CDF79431FD0 for ; Wed, 12 Oct 2011 08:31:02 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 ux6eoG4Ogyvw for ; Wed, 12 Oct 2011 08:31:02 -0700 (PDT) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 218F1431FB6 for ; Wed, 12 Oct 2011 08:31:01 -0700 (PDT) Received: by bkbzt12 with SMTP id zt12so225567bkb.26 for ; Wed, 12 Oct 2011 08:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :organization:user-agent; bh=l/EdKzvkZmJRAzvO3k917FoF2Sb5e/GBZyKdz+/Dt8I=; b=yDIdrccs3h45AlKHTcGK+dZiQPIf/tPnebGpoL67TTJ0ra06PwbF+Y2gA3OR/skpAr lTJOiC4n+yxMTKtGdLD97sNEe4mYVLYLhut07u1+d6DXLm/1NoFzK6nNo1r87+8tWNAt 56qaQNwCUPkgZPq7aopSarElQTLOp31F2bu4E= Received: by 10.204.134.25 with SMTP id h25mr14001572bkt.2.1318433460207; Wed, 12 Oct 2011 08:31:00 -0700 (PDT) Received: from localhost ([88.236.34.68]) by mx.google.com with ESMTPS id d17sm505424bkq.11.2011.10.12.08.30.54 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Oct 2011 08:30:58 -0700 (PDT) Date: Wed, 12 Oct 2011 18:30:51 +0300 From: Ali Polatel To: dtk Subject: Re: [python] set rpath in setup.cfg Message-ID: <20111012153051.GE21615@hayalet> Mail-Followup-To: dtk , notmuch@notmuchmail.org References: <6d84224ab757d84968df4db3a7b00fcb@jadE-Hamburg.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <6d84224ab757d84968df4db3a7b00fcb@jadE-Hamburg.de> Organization: Pink Floyd User-Agent: Mutt/1.5.21 (2010-09-15) Cc: notmuch@notmuchmail.org 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 15:31:02 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline On Wed, Oct 12, 2011 at 04:55:30PM +0200, dtk wrote: > >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 :/ > May I ask why you dislike LD_LIBRARY_PATH? -alip --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAk6VsqsACgkQQU4yORhF8iD35gCgmcUvvRegpLE8LcldtHmGyqbh J1kAoIuARKlVDrWaMUfqQwn4iQNWiOdz =7v0D -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--