Created
March 31, 2014 10:06
-
-
Save jlnwlf/9889183 to your computer and use it in GitHub Desktop.
Using a special virtualenv or, if the specific virtualenv is not found, using system's default python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"shell_cmd": "( workon ${file_base_name} 2>&- && ( echo \"[Using ${file_base_name} virtualenv...]\n\" ; python ${file} ; deactivate ) ) || python ${file}", | |
"selector": "source.python" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment