|
From: Aaron H. <aa...@Me...> - 2002-11-05 20:28:15
|
I like leaving it as Python, I also run apps on Gentoo linux, windows, and FreeBSD where python2.2 is python. But you are right, this will cause grief for most new users, specially ones w/ hosted linux server - most of which are RedHat -Aaron Stuart Donaldson wrote: > On RedHat 7.3, python is version 1.5.2, but they also install python2 and > python2.2 which reference python version 2.2. > > However, the Webware system launches python via one of the following > techniques. > > #!/usr/bin/env python > -or- > #!/usr/bin/python > -or as in AppServer- > /usr/bin/env python > > All are references python without the version numbering. The options using > "/usr/bin/env" are overridable by inserting a directory containing the 2.2 > version of python as "python" at the beginning of your path. However, the > absolute reference version is not modifiable. > > I see this as a problem area for a new person trying to install webware. > But what is the best general solution? > > RedHat obviously hasn't seen fit to abandon python1.5.2, many of their > configuration scripts use python. > > +Should Webware use "python2"? Is this standard in most python > installations? > > +Should the install.py script (which detects an incorrect version) be > updated to change the invocation commands to python2 if necessary? > > +Should the PATH override be the standard way to do this, and the > "/usr/bin/python" references be upgraded to "/usr/bin/env python"? > > I need to resolve this for myself, in my use of Webware. However I would > rather use, or at least be compatible with whatever the general solution to > the problem is. > --- > Stuart Donaldson > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Webware-discuss mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webware-discuss |