[New-bugs-announce] [issue17480] pyvenv should be installed someplace more obvious on Windows

Jason R. Coombs report at bugs.python.org
Tue Mar 19 18:29:30 CET 2013


New submission from Jason R. Coombs:

On Windows, pyvenv.py is installed to PythonNN\Tools\Scripts, which I would generally recommend not be added to the system's or user's PATH.

It would be nice if there were a Windows-friendly launcher that's available similar to what's available on Unix. For example, on Unix, a script is created in /usr/bin/pyvenv-3.3 for Python 3.3 environments.

Perhaps Windows installs should include (alongside Python.exe) a pyvenv.exe that invokes venv for the Python environment in which it's executed. Then, if that Python.exe appears in the path, then invoking 'pyvenv' would be invoked for that Python. That approach would better fit my expectations.

Note, though, that one can always use 'py' to invoke venv as so:

py -3 -m venv

However, this mode of invocation is slightly clumsy and probably quite incongruent with the Unix style invocation (complicating a documentation author's "how to" for installing envs).

----------
components: Windows
messages: 184645
nosy: jason.coombs
priority: low
severity: normal
status: open
title: pyvenv should be installed someplace more obvious on Windows
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17480>
_______________________________________


More information about the New-bugs-announce mailing list