[Python-Dev] version-specific PYTHONPATH env var
Guido van Rossum
guido at python.org
Fri Mar 9 06:45:22 CET 2007
I recommend not setting these variables at all, or to use wrapper
scripts that set them instead. But there's probably some reason why
you can't do that...
On 3/8/07, Anthony Baxter <anthony at interlink.com.au> wrote:
> What do people think about the idea of a version-specific PYTHONPATH
> environment variable? Something like PYTHON25PATH or the like.
> Reason I ask is that on our production systems, we have a couple of
> versions of Python being used by different systems. Yes, yes, in a
> perfect world they'd be all updated at the same time, sure. There's
> occasionally issues with the PYTHONPATH being pointed at something
> like .../lib/python2.4/site-packages or the like, and then have
> issues when python2.3 or some other different version is run. If we
> allowed people to optionally specify a more specific version this
> problem would go away.
> Anthony Baxter <anthony at interlink.com.au>
> It's never too late to have a happy childhood.
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev