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

Pyenv​Env

by jkr78 ST3

No description provided

Details

Installs

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

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