ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Pyenv​Env

by jkr78 ST3

No description provided

Details

Installs

  • Total 237
  • Win 53
  • OS X 121
  • Linux 63
Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3
Windows 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 1 1 0 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 0 0 1 0 1 1 0 1 0 0 1 0 2 0 1 0 1 1 3 1 0 2 0 1 0 1 1
Linux 0 1 0 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 2 0 1 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Pyenv python versions in sublime text.

Installation

Install this sublime text 3 package via Package Control search for package: “PyenvEnv

or manually install

  • cd <Packages directory> (for example on Mac it is ~/Library/Application\ Support/Sublime\ Text\ 2/Packages or ~/Library/Application\ Support/Sublime\ Text\ 3/Packages)
  • git clone https://github.com/jkr78/PyenvEnv.git

Usage

Plugin will try to find pyenv python version and set environment variable specified in PyenvEnv.python_home_envname to python home path.

Use this environment variable when configuring SublimeLinter, Jedi, Build System and etc.

Default configuration

PyenvEnv.python_home_envname - none

Environment name (or list of names) python home will be set to.

PyenvEnv.valid_syntax - “Packages/Python/Python.sublime-syntax”

Syntax name this plugin is valid for or no check if empty.

PyenvEnv.valid_file_ext - “.py”

File extensions this plugin will work with or no check if empty.

PyenvEnv.unsaved_is_valid - false

Set environment variable for unsaved files.

PyenvEnv.python_version - none

Override default python version. Will not search .python-version.

PyenvEnv.debug - false

Output debug information to console.

PyenvEnv.pyenv_home - null

Overwrite pyenv home variable. If not PYENV_ROOT environment will be used.

PyenvEnv.home - null

Overwrite home directory. If not project directory or file's directory will be used.

PyenvEnv.python - null

Set python executable name.

PyenvEnv.search_parent - true

Search .python-version file in parent directories.

PyenvEnv.no_comments - true

Do not skip comments in .python-version.

Others

Inspired by: https://packagecontrol.io/packages/Environment%20Settings