Integrate pyvenv
This commit is contained in:
parent
8d49b269b2
commit
c6f18655e4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user