Re: [Pythonmac-SIG] Python virtual environments on OS X

2011-07-20 Thread Vinay Sajip
Ronald Oussoren mac.com> writes: > The 'env.cfg' file will be next to the stub executable, and hence not in a location where the real > interpreter will look. > > > 2. How does the stub locate the real executable? > > The stub is linked to the framework and uses that to find the sys.prefix, the

Re: [Pythonmac-SIG] Python virtual environments on OS X

2011-07-19 Thread Ronald Oussoren
On 19 Jul, 2011, at 13:52, Vinay Sajip wrote: > Ronald Oussoren mac.com> writes: > >> I'm not sure if I like this approach, I'll read the PEP before I start > discussing that though. One thing I want >> to mention beforehand: why is the file named 'env.cfg' instead of something > starting with

Re: [Pythonmac-SIG] Python virtual environments on OS X

2011-07-19 Thread Vinay Sajip
Ronald Oussoren mac.com> writes: > I'm not sure if I like this approach, I'll read the PEP before I start discussing that though. One thing I want > to mention beforehand: why is the file named 'env.cfg' instead of something starting with 'py'? The > latter is basicly namespacing the filename an

Re: [Pythonmac-SIG] Python virtual environments on OS X

2011-07-18 Thread Ronald Oussoren
On 18 Jul, 2011, at 19:15, Vinay Sajip wrote: > I'm working on pythonv[1], a branch which aims to bring virtual environment > creation functionality into Python itself (work on a PEP is in progress). > > I've got a prototype working quite well on Linux and Windows [2], but not yet > done any wor

Re: [Pythonmac-SIG] Python virtual environments on OS X

2011-07-18 Thread Vinay Sajip
Hi Ned, > I did a quick build and test using a non-default framework location and > the virtual env set up by ./python -m virtualize test_dir worked just > fine, just as the original virtualenv does with framework builds. So > while we may find some nits down the road, I think the general appr

Re: [Pythonmac-SIG] Python virtual environments on OS X

2011-07-18 Thread Ned Deily
In article , Vinay Sajip wrote: > I'm working on pythonv[1], a branch which aims to bring virtual environment > creation functionality into Python itself (work on a PEP is in progress). > > I've got a prototype working quite well on Linux and Windows [2], but not yet > done any work on OS X. [..

[Pythonmac-SIG] Python virtual environments on OS X

2011-07-18 Thread Vinay Sajip
I'm working on pythonv[1], a branch which aims to bring virtual environment creation functionality into Python itself (work on a PEP is in progress). I've got a prototype working quite well on Linux and Windows [2], but not yet done any work on OS X. The basic approach used is that the Python sta