Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ssbb/pyenv-mode-auto
Automatically activates pyenv version within Emacs if .python-version file exists.
https://github.com/ssbb/pyenv-mode-auto
emacs pyenv python
Last synced: 2 months ago
JSON representation
Automatically activates pyenv version within Emacs if .python-version file exists.
- Host: GitHub
- URL: https://github.com/ssbb/pyenv-mode-auto
- Owner: ssbb
- License: gpl-3.0
- Archived: true
- Created: 2016-01-21T11:01:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-07T12:17:44.000Z (almost 6 years ago)
- Last Synced: 2024-04-26T02:31:29.654Z (10 months ago)
- Topics: emacs, pyenv, python
- Language: Emacs Lisp
- Homepage:
- Size: 20.5 KB
- Stars: 23
- Watchers: 4
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: COPYING
Awesome Lists containing this project
README
=================
pyenv-mode-auto
=================.. image:: http://melpa.org/packages/pyenv-mode-auto-badge.svg
:target: http://melpa.org/#/pyenv-mode-autoAutomatically 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 `_.
.. code-block:: lisp
(add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/") t)And then :kbd:`M-x package-install [RET] pyenv-mode-auto [RET]`. After Installing you should `require` this package:
.. code-block:: lisp
(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.