pipenv.el
pipenv.el copied to clipboard
Using pipenv from inside a subdirectory
I have the following in my emacs init file:
(use-package pipenv
:hook (python-mode . pipenv-mode)
:diminish)
Now, I visit the file a.py
in a directory structure:
.:
Pipfile GRTAGS GTAGS GPATH x/
./x:
y/
./x/y:
a.py
and try to do pipenv-activate
. It ends with:
No virtualenv has been created for this project yet!
Process Pipenv exited abnormally with code 1
I have projectile mode enabled. Shouldn't activation happen at project root?
It should you are right, but it doesn't. I've got a range of changes to pipenv on a branch I don't get around to finishing. I'll try to address this there, but also will be happy for a PR that fixes this.
https://github.com/pwalsh/pipenv.el/issues/45