I just released version 1.9.0 of Elpy, the Emacs Python Development Environment. This is a feature release.
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.
(require 'package) (add-to-list 'package-archives '("elpy" . "https://jorgenschaefer.github.io/packages/"))
M-x package-install RET elpy RET.
Finally, run the following (and add them to your
Changes in 1.9.0
- Elpy now supports the
autopep8library for automatically formatting Python code. All refactoring-related code is now grouped under
C-c C-r. Use
C-c C-r ito fix up imports using importmagic,
C-c C-r pto fix up Python code with autopep8, and
C-c C-r rto bring up the old Rope refactoring menu.
C-c C-bwill now select a region containing surrounding lines of the current indentation or more.
C-c C-zin a Python shell will now switch back to the last Python buffer, allowing to use the key to cycle back and forth between the Python buffer and shell.
- The pattern used for
C-c C-sis now customizeable in
<C-return>now can be used to send the current statement to the Python shell. Be careful, this can break with nested statements.
- The Elpy minor mode now also works in modes derived from
python-mode, not just in the mode itself.
Thanks to ChillarAnand, raylu and Chedi for their contributions!