[Python-Dev] Use ptyhon -s as default shbang for system python executables/daemons

Antoine Pitrou solipsis at pitrou.net
Mon Mar 23 15:30:23 CET 2015
On Mon, 23 Mar 2015 07:22:56 -0700
Toshio Kuratomi <a.badger at gmail.com> wrote:
> 
> Building off Nick's idea of a system python vs a python for users to use, I
> would see a more useful modification to be able to specify SPYTHONPATH (and
> other env vars) to go along with /usr/bin/spython .  That way the user
> maintains the capability to override specific libraries globally just like
> with LD_LIBRARY_PATH, PATH, and similar but you won't accidentally
> configure your own python to use one set of paths for your five python apps
> and then have that leak over and affect system tools.

I really think Donald has a good point when he suggests a specific
virtualenv for system programs using Python.

Regards

Antoine.




More information about the Python-Dev mailing list