Elpy is an Emacs package to bring powerful Python editing to Emacs. It combines a number of other packages, both written in Emacs Lisp as well as Python.
You can find the documentation on the wiki.
You can also read the detailed installation instructions.
First, install the required Python packages::
pip install elpy rope
(Note: If you are installing the development version of elpy, do not
install the elpy Python package, but simply put the repository in your
PYTHONPATH
.)
Evaluate this in your *scratch*
buffer:
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/"))
Then run M-x package-refresh-contents
to load the contents of the
new repository, and M-x package-install RET elpy RET
to install
elpy.
Finally, add the following to your .emacs
:
(package-initialize)
(elpy-enable)
Done.