install pyenv because python is horrible world

This commit is contained in:
Morgan Wattiez 2019-08-09 05:27:54 +02:00
parent 8b5bc3cad3
commit c45557f180
2 changed files with 3 additions and 1 deletions

View File

@ -57,6 +57,8 @@ brew "asciidoc"
brew "bash-snippets"
# Mac App Store command line interface
brew "mas"
# Using pyenv to be able to install specific python versions https://stackoverflow.com/questions/49794432/how-to-setup-a-pipenv-python-3-6-project-if-os-python-version-is-3-5
brew "pyenv"
mas 'Keynote', id: 409183694
mas 'iMovie', id: 408981434

View File

@ -29,13 +29,13 @@ npm install -g jira-node-cli --save
# Install pip and pipenv
sudo easy_install pip
sudo pip install --upgrade pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python3 get-pip.py
sudo pip3 install --upgrade pip
ln -s /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/pip pip3
export PATH=$PATH:/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/
pip3 install pipenv
pyenv install 3.6.0
# Install AWS-CLI
pip3 install boto3