Sha256: 4fdcfedd451177d66ae56297a85c61ba2fa97c755de48bc145d87d522ec07674
Contents?: true
Size: 427 Bytes
Versions: 3
Compression:
Stored size: 427 Bytes
Contents
#! /usr/bin/env python import json from pip.util import get_installed_distributions packages = [] for dist in get_installed_distributions(): packages.append( { "name": dist.project_name, "version": dist.version, "location": dist.location, "dependencies": map(lambda dependency: dependency.project_name, dist.requires()) } ) print json.dumps(packages)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
license_finder-2.0.0.rc2 | bin/license_finder_pip.py |
license_finder-1.2 | bin/license_finder_pip.py |
license_finder-1.2-java | bin/license_finder_pip.py |