scancode.io icon indicating copy to clipboard operation
scancode.io copied to clipboard

Scan results quality for Python packages: wheel vs. source distributions

Open tdruez opened this issue 3 years ago • 1 comments

While the "License clarity" and "Scan summary" data looks great when using source distributions, the quality of the results when using wheel as inputs could be improved.

For example with https://pypi.org/project/XlsxWriter/3.0.3/#files

  • Source: XlsxWriter-3.0.3.tar.gz

Screenshot 2022-08-29 at 16 48 08

  • Wheel: XlsxWriter-3.0.3-py3-none-any.whl

Screenshot 2022-08-29 at 16 48 19


When looking at the LICENSE.txt and METADATA key files of the wheel, it seems that we should be able to get the Declared license and Declared holder value as we do for the source dist:

Screenshot 2022-08-29 at 16 51 28 Screenshot 2022-08-29 at 16 52 55 Screenshot 2022-08-29 at 16 53 05

tdruez avatar Aug 29 '22 12:08 tdruez

Thanks! that's a bug in SCTK detection alright

pombredanne avatar Sep 01 '22 17:09 pombredanne