Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75231 > unrolled thread
| Started by | dieter <dieter@handshake.de> |
|---|---|
| First post | 2014-07-26 07:48 +0200 |
| Last post | 2014-07-26 07:48 +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.
Re: rpath alike feature for python scripts dieter <dieter@handshake.de> - 2014-07-26 07:48 +0200
| From | dieter <dieter@handshake.de> |
|---|---|
| Date | 2014-07-26 07:48 +0200 |
| Subject | Re: rpath alike feature for python scripts |
| Message-ID | <mailman.12335.1406353757.18130.python-list@python.org> |
Olaf Hering <olaf@aepfle.de> writes: > ELF binaries have a concept of RPATH, that means the interpreter looks > for libraries first in a list of directories provided by the binary > before falling back to default system directories. > > Since python scripts also do some sort of library loading, but lack an > RPATH like feature, I'm asking here how to simulate it. 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.
Back to top | Article view | comp.lang.python
csiph-web