Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75322 > unrolled thread
| Started by | Albert-Jan Roskam <fomcl@yahoo.com> |
|---|---|
| First post | 2014-07-28 13:00 -0700 |
| Last post | 2014-07-28 13:00 -0700 |
| 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.
Re: rpath alike feature for python scripts Albert-Jan Roskam <fomcl@yahoo.com> - 2014-07-28 13:00 -0700
| From | Albert-Jan Roskam <fomcl@yahoo.com> |
|---|---|
| Date | 2014-07-28 13:00 -0700 |
| Subject | Re: rpath alike feature for python scripts |
| Message-ID | <mailman.12394.1406577931.18130.python-list@python.org> |
----- Original Message ----- > From: Olaf Hering <olaf@aepfle.de> > To: dieter <dieter@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
Back to top | Article view | comp.lang.python
csiph-web