Added some stuff

This commit is contained in:
jomido
2017-07-27 23:39:53 -05:00
parent 18a4668e83
commit 20ca5e79ff
10 changed files with 18 additions and 18 deletions

View File

@@ -85,11 +85,11 @@ filetype plugin indent on " required
" " Put your non-Plugin stuff after this line
"python with virtualenv support
py << EOF
import os
import sys
if 'VIRTUAL_ENV' in os.environ:
project_base_dir = os.environ['VIRTUAL_ENV']
activate_this = os.path.join(project_base_dir, 'bin/activate_this.py')
execfile(activate_this, dict(__file__=activate_this))
EOF
"py << EOF
"import os
"import sys
"if 'VIRTUAL_ENV' in os.environ:
" project_base_dir = os.environ['VIRTUAL_ENV']
" activate_this = os.path.join(project_base_dir, 'bin/activate_this.py')
" execfile(activate_this, dict(__file__=activate_this))
"EOF