On 1 November 2011 16:40, Paul Moore <p.f.mo...@gmail.com> wrote: > On 1 November 2011 16:29, Paul Moore <p.f.mo...@gmail.com> wrote: >> On 31 October 2011 20:10, Carl Meyer <c...@oddbird.net> wrote: >>>> For Windows, can you point me at the nt scripts? If they aren't too >>>> complex, I'd be willing to port to Powershell. >>> >>> Thanks! They are here: >>> https://bitbucket.org/vinay.sajip/pythonv/src/6d057cfaaf53/Lib/venv/scripts/nt >> >> The attached should work. Untested at the moment, I'm afraid, as I >> don't have access to a PC with the venv branch available. But they >> aren't complex, so they should be fine. > > By the way, these do not need to be dot-sourced to activate/deactivate > the venv, but they do need to be dot-sourced to enable the prompt > change. As the prompt is more of a cosmetic thing, I'm not sure how > crucial that is...
... and of course, to prove that anything untested is wrong, here's a minor fix to deactivate.ps1 :-) Paul.
Deactivate.ps1
Description: Binary data
_______________________________________________ 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