pyvenv
pyvenv copied to clipboard
Python virtual environment interface for Emacs
The mode line for pyvenv-mode could be enhanced to allow for switching between virtualenvs.
When the virtualenv changes, pyvenv could warn about processes that ran from the old virtualenv. That is, if `(executable-find (car (process-command proc)))` changes for any `proc` in `(process-list)` by changing...
Virtualenvwrapper was installed using `pip install --user virtualenv virtualevnwrapper`. The problem is reading the list of available virtual envs. Below is the code snippet which does this. ``` (defun pyvenv-virtualenv-list...
I want to be able to open my Python projects in Emacs and automatically set up a virtual environment—but just for project-related buffers! To accomplish that, I've enabled the pyvenv...
(Forwarded from https://bugs.debian.org/1052931) Since Emacs 29.1 ERT doesn't allow reusing test names. The test in test/pyvenv-workon-home-test.el doesn't use its file name as test name but reused the one from test/pyvenv-hook-dir.el....
I think it's reasonable to expect to be able to set `WORKON_HOME` to something like `~/.virtualenvs` or whatever, but since my env var was set, `pyvenv-create` originally would create a...
I am using pyvenv-workon and encountering a `json-read` error: ``` Debugger entered--Lisp error: (json-readtable-error 112) signal(json-readtable-error (112)) json-read() pyvenv-run-virtualenvwrapper-hook("pre_activate" nil "/Users/henry/.pyenv/versions/science/") pyvenv-activate("/Users/henry/.pyenv/versions/science/")``` I cannot find documentation or figure out myself...
I'm using this to avoid seeing the indicator when working on non-python stuff and other projects where it's just irrelevant noise. Maybe it's useful for someone else too (if not...
There are now a few different tools that manage virtual environments automatically based on the `pyproject.toml` for a project. I do happen to like `hatch`, so I made a hack...