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
# Output outdated packages | |
pip freeze | cut -d = -f 1 | xargs -n 1 pip search | grep -B2 'LATEST:' | |
# Upgrade all outdated packages | |
pip freeze | cut -d = -f 1 | xargs echo pip install -U |
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
## log via ssh | |
mkdir ~/modules/ | |
## add modules to python path in your .bashrc | |
export PYTHONPATH=~/modules/ | |
## source .bashrc | |
## install pip & virtualenv | |
easy_install-2.6 --install-dir ~/modules -U pip | |
easy_install-2.6 --install-dir ~/modules -U virtualenv |
NewerOlder