Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Latest commit

 

History

History
31 lines (19 loc) · 926 Bytes

README.rst

File metadata and controls

31 lines (19 loc) · 926 Bytes

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" . "https://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.