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

Pyenv​Env

by jkr78 ST3

No description provided

Details

Installs

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

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