Support a .venv file
#165
brettcannon
started this conversation in
Ideas
Replies: 3 comments 5 replies
|
If this takes an absolute path then we could also support this in the Python extension for VS Code. |
2 replies
|
Pipenv implements this in a slightly different way:
This covers both the environment-in-project and virtualenvwrapper use cases, but introduces some security concerns since the |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The file would have a single line specifying the absolute path to a virtual environment.
If it was desired to play nice with oh-my-zsh users, if
WORKON_HOMEis set, use that as the anchor point for any relative path specified in the file (I'm not willing to assume~/.virtualenvs).This originally came up from https://discuss.python.org/t/trying-to-come-up-with-a-default-directory-name-for-virtual-environments/3750 .
All reactions