pub fn derive_package_license_infos<'a>(
resources: impl Iterator<Item = &'a PythonResource<'a>>,
) -> Result<Vec<PackageLicenseInfo>>Expand description
Obtain Python package license information from an iterable of Python resources.
This will look at PythonPackageDistributionResource entries and attempt
to find license information within. It looks for license info in METADATA
and PKG-INFO files (both the License key and the trove classifiers) as
well as well-named files.