Created
December 14, 2018 14:08
-
-
Save ericbaranowski/7291bb53de338932fc9d22bfa3f5251d to your computer and use it in GitHub Desktop.
This file contains 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 | |
git clone --recursive https://github.com/pyenv/pyenv ~/.pyenv | |
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshenv | |
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshenv | |
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.zshenv | |
source ~/.zshenv | |
pyenv install 3.6.7 | |
pyenv local 3.6.7 && pyenv shell 3.6.7 && pyenv global 3.6.7 | |
pyenv rehash | |
pip install --upgrade pip setuptools wheel | |
pip install -IU virtualenv | |
virtualenv --system-site-packages -p python3 venv | |
source venv/bin/activate | |
pip install -IU -r requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment