Skip to content

Instantly share code, notes, and snippets.

@mpkocher
Created August 29, 2014 23:36
Show Gist options
  • Save mpkocher/b1d5db71f8ebd84a3287 to your computer and use it in GitHub Desktop.
Save mpkocher/b1d5db71f8ebd84a3287 to your computer and use it in GitHub Desktop.
Update all packages in virtualenv env via pip
function update_ve_pkgs() {
echo "Updating pip packages"
for i in $(pip freeze | tr "==" " " | awk '{print $1}') ; do pip install --upgrade $i; done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment