dieter <die...@handshake.de> writes:

> Olaf Hering <o...@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.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to