Add pyenv-virtualenv to shellenv.sh

This commit is contained in:
Ivan Malison 2016-08-04 15:21:50 -07:00
parent a3088e7d4e
commit 36c03fbebc
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -63,15 +63,9 @@ function _python_setup {
echo "WARNING: pyenv is not installed on this machine and python will likely not function correctly"
fi
# The following line is no longer necessary since the pyenv shim
# should handle directing to the appropriate install.
# add_to_path "$(get_python_scripts_path)" --before
if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi
add_to_path "$HOME/.lib/python" --path-var 'PYTHONPATH'
# This should no longer be needed now that pyenv is used
# add_to_path /usr/local/lib/python2.7/site-packages --after
}
function _node_setup {