LicenseCheck
LicenseCheck copied to clipboard
Add missing local metadata and allow local only metadata
Purpose of This Pull Request
Please check the relevant option by placing an "X" inside the brackets:
- [ ] Documentation update
- [X] Bug fix (specs conformance)
- [X] New feature
- [ ] Other (please explain):
Overview of Changes
Two-fold:
- fix/specs: we add missing metadata keys in
LocalPackageInfo, especiallyLicense-Expression - feat: we add the ability for the user to retrieve package metadata only from local by setting an empty
--pypi-apiargument
Related Issue
No opened issue but when dealing with a non-public PyPI package only having License-Expression metadata, licensecheck was failing to retrieve its license from local metadata.