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

Pyenv​Env

by jkr78 ST3

No description provided

Details

Installs

  • Total 90
  • Win 27
  • OS X 34
  • Linux 29
Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7
Windows 2 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 0 0 2 0 0 0
OS X 0 0 1 0 0 0 0 1 1 0 0 2 1 0 0 0 1 0 0 0 0 0 1 0 0 1 0 1 0 2 0 2 0 1 0 0 0 0 2 0 0 0 0 1 1 2
Linux 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 1 0 0 0 0 2 1 0 1 0 1 1 0 0 0 0 0 0 0 0 1 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