##// END OF EJS Templates
Predict the Python version based on $VIRTUAL_ENV...
Predict the Python version based on $VIRTUAL_ENV Try to make prediction of the Python's site-package version used by virtualenv. If predicted path doesn't exist, continue with previous behaviour. This can be useful while working with different Python versions in virtual environments other than system-used (previously provided via `sys.version_info`). Note that this *only* updates $PYTHONPATH, so 3rd-libraries installed in virtualenv will be avialable. However the Python interpreter contiunues to be other than the bundled in the virtualenv (see `init_virtualenv()` docstring).

File last commit:

r7846:e288666b
r26257:2704824e
Show More
.gitattributes
5 lines | 109 B | text/plain | TextLexer
IPython/.git_commit_info.ini export-subst
* text=auto
*.py diff=python
*.js diff=javascript
*.html diff=html