davidhalter/jedi — pull request #242 by JumpeiArashi (2013-06-05 08:16:49+00:00)
Title: Add "sys.path" for pyenv.

Hi Mr.davidhalter.

I always use "jedi-vim". It's my best favorite vim plugin.

But, not supported "pyenv". Do you know "pyenv"?
https://github.com/yyuu/pyenv

"pyenv" constructs environments of python per-directory as following:
For exmaple:
/srv/python27 : You command "cd /srv/python27". You can use python2.7

I want to use "jedi-vim" under the pyenv.

So, I edited "jedi/modules.py", and made jedi be able to add pyenv's "sys.path".
`~/.pyenv/versions/2.7.5/lib/python2.7/site-packages`(e.g:pyenv's python library directory).

Please merge my pull request, Mr.davidhalter.