Friday, August 9, 2013

Elpy 1.1 Released

I’m happy to announce that I just released version 1.1 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.

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)

Changes in 1.1

  • Elpy now always uses the root directory of the package as the project root; this should avoid some confusion and improve auto-completion suggestions
  • elpy-shell-send-region-or-buffer now accepts a prefix argument to run code wrapped behind if __name__ == '__main__', which is ignored by default
  • elpy-project-root is now a safe local variable and can be set from file variables
  • Elpy now supports project-specific RPC processes, see elpy-rpc-project-specific for how to use this
  • M-* now works to go back where you came from after a M-.
  • Elpy now ships with a few dedicated snippets for YASnippet
  • Support and require Jedi 0.6.0
  • Numerous bugfixes