Friday, February 6, 2015

Elpy 1.7.0 released

I just released version 1.7.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.

Quick Installation

Evaluate this:

(require 'package)
(add-to-list 'package-archives
             '("elpy" .
               "http://jorgenschaefer.github.io/packages/"))

Then run M-x package-install RET elpy RET.

Finally, run the following (and add them to your .emacs):

(package-initialize)
(elpy-enable)

Changes in 1.7.0

  • Elpy now can add missing import directives automatically, by using Alec Thomas' excellent importmagic library. Use C-c C-m to add a single import statement, or C-c C-S-m to include all missing import statements. Many thanks to Georg Brandl for doing a lot of work to bring this feature to Elpy!
  • The Jedi backend now also supports C-c C-d to display a docstring. Thanks again to Georg Brandl for the patch.
  • It is now possible to disable the display of the current function in the echo area by setting elpy-eldoc-show-current-function to nil.
  • idomenu was removed as a dependency. Elpy did not have any particular provision for this aside from loading it. Users who want to keep using it can just install the package manually.
  • Twisted's Trial test runner is now supported. Thanks to Elric Milon for the patch!
  • All test runners now use a variable to decide which command to run, which for example allows using manage.py for the Django test runner, or your own test script which sets up the environment correctly.
  • Emacs 24.4 is now officially supported.
  • Various bugfixes.
More thanks go out to Georg Brandl, fleimgruber, Eric Hanchrow, Elric Milon and eduardo naufel schettino for their contributions.