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

Pyenv​Env

by jkr78 ST3

No description provided

Details

Installs

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