[Python-Dev] Why no venv in existing directory?
Hi All, While trying 3.3 beta I found that I cannot use my favorite virtualenv pattern with pyvenv: $ virtualenv . Installing.done. $ pyvenv . Error: Directory exists: /Users/stefan/sandbox/foo I appreciate that this behavior is documented and was in the PEP from the start: "If the target directory already exists an error will be raised, unless the --clear or --upgrade option was provided." Still, I am curious what the rationale behind this restriction is. For me, being able to "bless" an existing directory with a virtualenv has always been one of its attractions. Thanks, Stefan -- Stefan H. Holek ste...@epy.co.at ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Why no venv in existing directory?
Hi Carl, On 19.07.2012, at 18:39, Carl Meyer wrote: > Hi Stefan, > > On 07/19/2012 06:28 AM, Stefan H. Holek wrote: >> While trying 3.3 beta I found that I cannot use my favorite >> virtualenv pattern with pyvenv: > > I'd have no problem with lifting the restriction. > > I don't recall any clear rationale; I think it was probably just the > simplest implementation initially, and no one ever raised it as an issue > in the PEP process. Thanks for your reply. The feature certainly is on *my* wish-list but I might be alone here. ;-) Stefan -- Stefan H. Holek ste...@epy.co.at ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Why no venv in existing directory?
FYI, I have created a tracker issue for this: http://bugs.python.org/issue15776 Stefan On 23.07.2012, at 09:09, Stefan H. Holek wrote: > The feature certainly is on *my* wish-list but I might be alone here. ;-) -- Stefan H. Holek www.jarn.com/stefan ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com