python-packages-license-check
python-packages-license-check copied to clipboard
Exactly what it says it does - check your installed packages and report licenses.
In the recent versions of pip, `pip.utils` is obsolete. This PR replaces the import statement to make it work with the latest pip.
Some packages seem to specify their license data in 'classifiers'. These can look like the following: $ cat /usr/lib/python2.7/site-packages/oslo.utils-3.30.0.dist-info/METADATA ... Summary: Oslo Utility library Home-page: https://docs.openstack.org/oslo.utils/latest/ License: UNKNOWN Description-Content-Type: UNKNOWN...
Print packages sorted by their name.