You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pip-licenses would find a LICENSE file when it inspects the unpacked wheel and print it rather than printing UNKNOWN. Newer versions of setuptools look in the root directory of a project for LICENSE files when they build, but in this project the LICENSE files are in a subdirectory, so they will need to be explicitly added using the license_files option to setuptools.setup.
The text was updated successfully, but these errors were encountered:
Bug report
Bug summary
A LICENSE file is not included in published PyPI packages. This makes
pip-licenses
unable to find a license file when generating a license report.Code for reproduction
Expected outcome
pip-licenses
would find a LICENSE file when it inspects the unpacked wheel and print it rather than printingUNKNOWN
. Newer versions ofsetuptools
look in the root directory of a project for LICENSE files when they build, but in this project the LICENSE files are in a subdirectory, so they will need to be explicitly added using thelicense_files
option tosetuptools.setup
.The text was updated successfully, but these errors were encountered: