Skip to content

Commit 9d79682

Browse files
committed
updated documentation with respect to Python detection
1 parent bfeff52 commit 9d79682

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

README.markdown

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,15 @@ I also added a lot caching throughout the underlying Rope library which improved
1414
Configuration
1515
-------------
1616

17-
The only necessary configuration at the moment is setting "python_interpreter" in your projects settings (Project->Edit Project) to use another interpreter than your system interpreter. Example:
17+
The only necessary configuration is pointing SublimePythonIDE at the correct Python interpreter to use.
18+
There are four mechanisms for detecting Python that are used in the following order:
19+
20+
- Checking the option "python_interpreter" in project settings (see below)
21+
- Auto-detecting a virtual environment (in "venv" or $WORKON_HOME for virtualenvwrapper)
22+
- Reading a #! (shebang) line in the active file
23+
- Auto-detecting the system Python from $PATH
24+
25+
The option "python_interpreter" can be set in the projects settings (Project->Edit Project). Example:
1826

1927
{
2028
"folders": [

0 commit comments

Comments
 (0)