[Python-Dev] draft PEP: virtual environments (original) (raw)

Paul Moore p.f.moore at gmail.com
Tue Nov 1 17:40:54 CET 2011


On 1 November 2011 16:29, Paul Moore <p.f.moore at gmail.com> wrote:

On 31 October 2011 20:10, Carl Meyer <carl at 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...

Paul.



More information about the Python-Dev mailing list