Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lowercase files not found #208

Open
stefan6419846 opened this issue Aug 14, 2024 · 0 comments
Open

Lowercase files not found #208

stefan6419846 opened this issue Aug 14, 2024 · 0 comments

Comments

@stefan6419846
Copy link

stefan6419846 commented Aug 14, 2024

Lowercase license files are not found.

To reproduce:

  • Create a virtual environment and activate it.
  • Run python -m install "WebOb==1.8.8" pip-licenses
  • Run pip-licenses --format=json --with-license-file

Actual output:

[
  {
    "License": "MIT License",
    "LicenseFile": "UNKNOWN",
    "LicenseText": "UNKNOWN",
    "Name": "WebOb",
    "Version": "1.8.8"
  }
]

Expected output:

[
  {
    "License": "MIT License",
    "LicenseFile": "/path/to/venv/lib/python3.9/site-packages/WebOb-1.8.8.dist-info/license.txt",
    "LicenseText": "License\\n=======\\n\\nCopyright (c) 2007 Ian Bicking and Contributors\\n\\nPermission is hereby granted, free of charge, to any person obtaining\\na copy of this software and associated documentation files (the\\n\\"Software\\"), to deal in the Software without restriction, including\\nwithout limitation the rights to use, copy, modify, merge, publish,\\ndistribute, sublicense, and/or sell copies of the Software, and to\\npermit persons to whom the Software is furnished to do so, subject to\\nthe following conditions:\\n\\nThe above copyright notice and this permission notice shall be\\nincluded in all copies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND,\\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\\n",
    "Name": "WebOb",
    "Version": "1.8.8"
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant