Created
January 10, 2021 07:51
-
-
Save pillyshi/71d06f738302e5e84c7ccd724beace14 to your computer and use it in GitHub Desktop.
Minimum init.el for Python development on emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(package-initialize) | |
(setq package-archives | |
'(("gnu" . "http://elpa.gnu.org/packages/") | |
("melpa" . "http://melpa.org/packages/") | |
("org" . "http://orgmode.org/elpa/"))) | |
;; elpy | |
(elpy-enable) | |
(require 'virtualenvwrapper) | |
(require 'auto-virtualenvwrapper) | |
(add-hook 'python-mode-hook #'auto-virtualenvwrapper-activate) | |
(setq elpy-rpc-virtualenv-path 'current) | |
(setq elpy-rpc-backend "jedi") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment