Last active
December 21, 2016 02:51
-
-
Save ssebastianj/73032a3b5abb7a71554c37b3f8d5ab18 to your computer and use it in GitHub Desktop.
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
python -c "import pip, pprint; pprint.pprint([pkg.get_entry_map().get('console_scripts', '') for pkg in pip.get_installed_distributions()])" |
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
for pkg in $(pip list) ; do pip show --verbose $pkg 2>/dev/null | awk '/\[console_scripts\]/,/\=/' | sed -n '2,$p' ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment