----- Original Message -----

> From: Olaf Hering <o...@aepfle.de>
> To: dieter <die...@handshake.de>
> Cc: python-list@python.org
> Sent: Monday, July 28, 2014 9:57 AM
> Subject: Re: rpath alike feature for python scripts
> 
> On Sat, Jul 26, dieter wrote:
> 
>>  The "binary" corresponds to a script. The script could have
>>  a function "setup_path" which enhances "sys.path" as 
> appropriate
>>  and ensure that this function is called near its beginning.
> 
> Yes, but how does it obtain the required values? In other words, at
> buildtime /some/where is known because its the --prefix= value.
> How does it know the remainder?

Hey, 

does this help: https://nixos.org/patchelf.html. It is not specific to Python, 
though.

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

Reply via email to