[Python-ideas] PYTHONUSERBASES (plural!)

Nick Coghlan ncoghlan at gmail.com
Thu Apr 23 04:46:12 CEST 2009

Larry Hastings wrote:
> So when I switch between two virtualized environments, you suggest that
> I remove the .pth files from the old one and add the .pth files from the
> new one?  This strikes you as a good solution?

You would have two different directories each with a different .pth file
in it and point PYTHONUSERBASE at the correct one for the virtual
environment you want to use.

PYTHONUSERBASE would still be the switching point - including a .pth
file just lets you extend a given value for PYTHONUSERBASE to mean more
than one directory.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-ideas mailing list