pyenv + virtualenv のインストール
% git clone git://github.com/yyuu/pyenv.git .pyenv
% cd .pyenv/plugins/
% git clone git://github.com/yyuu/pyenv-virtualenv.git
パス設定など (zsh)
# .zprofile に書く
if [ -d "${HOME}/.pyenv" ]; then
export PYENV_ROOT="${HOME}/.pyenv"
if [ -d "${PYENV_ROOT}/bin" ]; then
export PATH="${PYENV_ROOT}/bin:$PATH"
fi
fi
# .zshrc に書く
if [ -f "${PYENV_ROOT}/bin/pyenv" ]; then
eval "$(pyenv init -)"
fi