Integrate pyvenv

This commit is contained in:
Jeremy Dormitzer 2019-02-05 17:37:11 -05:00
parent 8d49b269b2
commit c6f18655e4

View File

@ -968,7 +968,18 @@ Configure Java project sources:
Elpy is a python IDE package:
#+BEGIN_SRC emacs-lisp
(use-package elpy
:config (elpy-enable))
:config
(elpy-enable)
(pyvenv-mode))
(defun eshell/workon (name)
(pyvenv-workon name))
(defun eshell/activate (dir)
(pyvenv-activate dir))
(defun eshell/deactivate ()
(pyvenv-deactivate))
#+END_SRC
Pipenv is the Python standard dependency management/virtual environment tool. pipenv.el teaches Emacs its ways: