[issue35003] Provide an option to venv to put files in a bin/ directory on Windows

Vinay Sajip report at bugs.python.org
Mon Dec 2 15:24:15 EST 2019


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

> You can't. Tools like `pipenv shell` and `conda shell` end up with a new shell running instead of changing the current shell in-place.

Indeed. I raised it because of what you said earlier:

> and so maybe proposing a simple `venv --activate <path>` that does nothing more than set those key environment variables and prints out a message about what is happening is enough to do the trick

So not that simple, then, if it has to handle multiple shells cross-platform. Especially as if tools like pew, pipenv, conda already do this. Are you proposing to bring that functionality, which these third-party tools perform currently, into the stdlib?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35003>
_______________________________________


More information about the Python-bugs-list mailing list