Skip to content

Instantly share code, notes, and snippets.

@cosmin
Created March 30, 2009 09:53
Show Gist options
  • Save cosmin/87722 to your computer and use it in GitHub Desktop.
Save cosmin/87722 to your computer and use it in GitHub Desktop.
#!/bin/sh # this will loop over all the installed packages
for i in `python -c "for dist in __import__('pkg_resources').working_set: print dist.project_name"`:
do
echo "`sudo easy_install -U $i`" # run easy_install and echo the results
echo "----------------------------------------" #
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment