[Python-ideas] py launcher for Linux?

Oleg Broytman phd at phdru.name
Wed Apr 16 19:28:28 CEST 2014


On Thu, Apr 17, 2014 at 02:21:16AM +0900, "Stephen J. Turnbull" <stephen at xemacs.org> wrote:
> Serhiy Storchaka writes:
>  > 16.04.14 13:25, Eric V. Smith написав(ла):
>  > > I meant to bring this up at the PyCon sprints. On Windows, the launcher
>  > > finds the various versions of Python by looking in the registry. How is
>  > > a Linux version supposed to find what versions of Python are installed?
>  > 
>  > Debian-like systems use "alternatives".
>  > 
>  > https://wiki.debian.org/DebianAlternatives
> 
> Eric's example of a "pristine" build in /usr/local/bin shows that we
> need to consider whether a python not known to the system PMS should
> be considered to be "installed".  I would think on POSIX systems
> anything on the PATH should be considered to be "installed", but
> that's not an exact analogy to Windows semantics of "look in the
> registry".

   I believe there is no need to think about what's *installed*; it's
enough to think about what's *available* -- in PATH and in the config
file. Who cares from what sources and in what ways they became
available?

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-ideas mailing list