Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75403

Re: rpath alike feature for python scripts

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'feature.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'corresponds': 0.16; 'egg': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'mechanism': 0.19; "python's": 0.19; 'result.': 0.19; '>>>': 0.22; 'example': 0.22; 'import': 0.22; 'header:User- Agent:1': 0.23; 'mon,': 0.24; 'primary': 0.26; 'header:X -Complaints-To:1': 0.27; '(which': 0.31; '(used': 0.31; 'though.': 0.31; 'writes:': 0.31; 'allows': 0.31; 'up.': 0.33; 'no,': 0.35; 'interact': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'does': 0.39; 'obtain': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'received:217': 0.63; 'influence': 0.74; 'jul': 0.74
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From dieter <dieter@handshake.de>
Subject Re: rpath alike feature for python scripts
Date Thu, 31 Jul 2014 07:36:22 +0200
References <20140725140813.GA1867@aepfle.de> <87ha24mzzo.fsf@handshake.de> <20140728075740.GA17585@aepfle.de> <1406577605.33116.YahooMailNeo@web163806.mail.gq1.yahoo.com> <20140729072759.GA17626@aepfle.de> <87lhrbs8ed.fsf@handshake.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Gmane-NNTP-Posting-Host pd9e09e08.dip0.t-ipconnect.de
User-Agent Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux)
Cancel-Lock sha1:/7otMe9d1SBOfszl5xNAtem9ZJo=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12457.1406784995.18130.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1406784995 news.xs4all.nl 2856 [2001:888:2000:d::a6]:49941
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75403

Show key headers only | View raw


dieter <dieter@handshake.de> writes:

> Olaf Hering <olaf@aepfle.de> writes:
>> On Mon, Jul 28, Albert-Jan Roskam wrote:
>>> does this help: https://nixos.org/patchelf.html. It is not specific to Python, though.
>>
>> No, this does not help because its not about patching the result.
>> The questions is how to obtain the value with should be patched into the
>> result.
> ...
> The primary ways to interact with Python's import mechanism
> are "sys.path" and the envvar "PYTHONPATH" (which corresponds
> to the envvar "LD_LIBRARY_PATH").

You may also have a look at the "*.pth" feature.
It allows package installers to influence the way how "sys.path" is
set up. A main example is "easy-install.pth" (used for egg installation).

I remember to have seen a documentation - however, I no longer remember where.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: rpath alike feature for python scripts dieter <dieter@handshake.de> - 2014-07-31 07:36 +0200

csiph-web