Skip to content

Instantly share code, notes, and snippets.

@kra3
Created January 5, 2017 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kra3/7139cb50be674cc6e421ddb4e5e74751 to your computer and use it in GitHub Desktop.
Save kra3/7139cb50be674cc6e421ddb4e5e74751 to your computer and use it in GitHub Desktop.
Sublime project settings - python project with virtualenv
{
"Python": {
"python": "~/.envs/<virtual_env_name>/bin/python",
"pythonExtraPaths": [
"~/.envs/<virtual_env_name>/lib/python3.5/site-packages/"
]
},
"folders": [
{
"path": "<relative_project_path_from_this_file>",
"folder_exclude_patterns": [
"static",
"other_folders_to_include_from_path_above"
]
}
],
"virtualenv": "~/.envs/<virtual_env_name>",
"settings": {
"src_root": "<path_to_project>",
"python_interpreter": "~/.envs/<virtual_env_name>/bin/python"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment