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
The output from pip show can be quite verbose when the package includes the full license, making it harder to get the other basic information like the version.
Example: pip show numpy
Describe the solution you'd like
One solution could be to remove or trim the license in the default output, and fully display it when using the --verbose option.
FWIW, with PEP 639 (which is currently awaiting pronouncement), there will be a well-defined way for distributions to declare their license(s), as both a SPDX expression and a list of license files (or equivalent legal notices) in the metadata. Transitioning to reading the new License-Expression field would likely be the best way forward.
I have no comment on whether and how pip should improve its handling of legacy license fields.
What's the problem this feature will solve?
The output from
pip show
can be quite verbose when the package includes the full license, making it harder to get the other basic information like the version.Example:
pip show numpy
Describe the solution you'd like
One solution could be to remove or trim the license in the default output, and fully display it when using the
--verbose
option.Code of Conduct
The text was updated successfully, but these errors were encountered: