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


Groups > comp.lang.python > #75403 > unrolled thread

Re: rpath alike feature for python scripts

Started bydieter <dieter@handshake.de>
First post2014-07-31 07:36 +0200
Last post2014-07-31 07:36 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#75403 — Re: rpath alike feature for python scripts

Fromdieter <dieter@handshake.de>
Date2014-07-31 07:36 +0200
SubjectRe: rpath alike feature for python scripts
Message-ID<mailman.12457.1406784995.18130.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web