Skip to content

Support parsing: WHEEL files #111

@abraemer

Description

@abraemer

Add support for parsing WHEEL files to extract the Tag field needed to reconstruct wheel filenames and create proper detailed PURLs.

  • WHEEL file format example:

    Wheel-Version: 1.0
    Generator: bdist_wheel (0.35.1)
    Root-Is-Purelib: false
    Tag: cp27-cp27m-win_amd64
    
  • The Tag field is needed to reconstruct the wheel filename

  • Reference implementation exists: etc/scripts/utils_thirdparty.py#L1148

  • This would enable proper detailed PURL construction for installed Python wheels

Upstream Reference

Upstream Context

A WHEEL file has the Tag needed to reconstruct the file_name of the wheel to construct a proper detailed PURL:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions