I’m happy to announce that I just released a new version of Elpy, the Emacs Python Development Environment. You can find a list of news since the last release below.
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.
Version 0.9 is a release candidate for 1.0. I’ll focus on bug fixes instead of new features until 1.0 is out.
Note: During release testing, I noticed a bug in auto-complete
1.4
under Emacs 24.2 which makes elpy’s autocompletion currently
unavailable in that version of Emacs. Using the development versions
of auto-complete
and popup solves this
problem.
Quick Installation
Evaluate this:
(add-to-list 'package-archives
'("marmalade" .
"http://marmalade-repo.org/packages/"))
Then run M-x package-install RET elpy RET
.
Finally, run the following (and add them to your .emacs
):
(package-initialize)
(elpy-enable)
News
- Elpy now officially support Python 2.6, 2.7 and 3.3 on Emacs 24.2 and 24.3, with continuous integration tests thanks to Travis CI.
- Extended support for Pydoc.
C-u C-c C-d
will now prompt for an auto-completed symbol to run Pydoc on. The pydoc output will be formatted and placed in a help buffer for easy review. - Refactoring support is back.
C-c C-r
will pop up a refactoring wizard offering various refactoring options. Most of them depend on the presence of Rope, though, even if Jedi is used as a completion backend. - The Rope backend has been extended to provide completions for
modules in an
import
clause. - New refactoring option: Add missing imports. This will search for undefined symbols in the current file and automatically add appropriate imports.
C-c C-c
(elpy-rgrep-symbol
) now prompts for a regexp when a prefix argument is given instead of using the symbol at point.