From c45557f18079d2ff68e84982d95f5c9a7cf84f91 Mon Sep 17 00:00:00 2001 From: Morgan Wattiez Date: Fri, 9 Aug 2019 05:27:54 +0200 Subject: [PATCH] install pyenv because python is horrible world --- Brewfile | 2 ++ dot_scripts/bootstrap.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Brewfile b/Brewfile index 6897193..513c36f 100644 --- a/Brewfile +++ b/Brewfile @@ -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 diff --git a/dot_scripts/bootstrap.sh b/dot_scripts/bootstrap.sh index 73eef55..ca817f5 100755 --- a/dot_scripts/bootstrap.sh +++ b/dot_scripts/bootstrap.sh @@ -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