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

Vinay Sajip report at bugs.python.org
Thu Nov 28 17:18:48 EST 2019


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

> I think Brett is thinking about eliminating the manual activate part entirely, but any tool trying to automate that needs to do a lot of platform-specific checks.

If you have more than one venv then it seems like some manual step is required to switch between them. What about a tool like Pew (Python Env Wrapper), which from the README "is completely shell-agnostic and thus works on bash, zsh, fish, powershell, etc."

https://github.com/berdario/pew

I haven't used in under Windows, but it works a treat on POSIX for me, YMMV of course.

Of course, scripts installed in venvs never need activation to run - they pick up the correct interpreter from their venv automatically.

----------

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


More information about the Python-bugs-list mailing list