upgrade pip and python dependencies
This commit is contained in:
@ -133,8 +133,8 @@ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
||||
sudo python3 get-pip.py
|
||||
case "$(uname -s)" in
|
||||
Darwin)
|
||||
ln -snf /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/:/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/bin"
|
||||
ln -snf /usr/local/Cellar/python/3.7.5/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/:/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/bin"
|
||||
;;
|
||||
esac
|
||||
sudo pip install --upgrade pip
|
||||
|
@ -12,6 +12,7 @@ bundle update --all
|
||||
zsh ~/.oh-my-zsh/tools/upgrade.sh
|
||||
sudo pip install --upgrade pip 2>/dev/null
|
||||
sudo pip3 install --upgrade pip 2>/dev/null
|
||||
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
|
||||
pip freeze > ~/requirements.txt
|
||||
# Update VIM plugins installed via Vundle https://github.com/VundleVim/Vundle.vim
|
||||
vim +PluginUpdate +qall
|
||||
|
Reference in New Issue
Block a user