-
-
Save charsyam/0a186d393a91dea78ecf0c860eae6ef3 to your computer and use it in GitHub Desktop.
pyenv_init.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SHELLRC=~/.bash_profile | |
git clone https://github.com/pyenv/pyenv.git ~/.pyenv | |
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> $SHELLRC | |
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> $SHELLRC | |
echo 'eval "$(pyenv init -)"' >> $SHELLRC | |
git clone https://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv | |
echo 'eval "$(pyenv virtualenv-init -)"' >> $SHELLRC | |
git clone git://github.com/kennethreitz/autoenv.git ~/.autoenv | |
echo 'source ~/.autoenv/activate.sh' >> $SHELLRC | |
echo "run source $SHELLRC" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment