Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # for dep in $(pip show somepackage | grep Requires | sed 's/Requires: //g; s/,//g') ; do pip uninstall -y $dep ; done
- for dep in $(pip show "$1" | grep Requires | sed 's/Requires: //g; s/,//g') ; do
- pip uninstall -y $dep
- done
- pip uninstall -y "$1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement