[Python-ideas] PYTHONUSERBASES (plural!)
Larry Hastings
larry at hastings.org
Thu Apr 23 04:33:44 CEST 2009
Scott David Daniels wrote:
> Larry Hastings wrote:
>>
>> I was excited to see PYTHONUSERBASE added in 2.6/3.0. But I became
>> disappointed when I learned it only allows you to specify one
>> directory. I have use cases where I'd want more than one.
>
> But you can put a .pth file in that directory specifying a number of
> directories to add to the path. The current mechanism is sufficient.
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?
If I have two virtualized environments, and I want to work with them
concurrently, and they each require different versions of the same
library, how do I achieve that with the current mechanism?
/larry/
More information about the Python-ideas
mailing list