Automatically activates pyenv version within Emacs if .python-version file exists.
Switch branches/tags
Nothing to show
Clone or download
Latest commit b6eef88 Jun 20, 2018
Permalink
Failed to load latest commit information.
.gitignore Initial commit. Jan 21, 2016
COPYING add license Dec 23, 2017
Cask update deps Jan 21, 2016
README.rst Update README.rst Mar 17, 2018
pyenv-mode-auto.el fix #7 Jun 20, 2018

README.rst

pyenv-mode-auto

Automatically activate pyenv version from Emacs with pyenv-mode.

It traverse directories up until .python-version file will be found and activates pyenv version defined there.

Installation

You can simply install package from Melpa.

(add-to-list 'package-archives
       '("melpa" . "http://melpa.org/packages/") t)

And then M-x package-install [RET] pyenv-mode-auto [RET]. After Installing you should require this package:

(require 'pyenv-mode-auto)

Usage

Just open any file within you project (with .python-version file in the same directory or above) and you pyenv version will be activated.