Skip to content

Lift pip.pep425tags into packaging #83

@leorochael

Description

@leorochael

While discussing how to implement wheel installation support into setuptools, @dholth mentioned that the wheel package had its own implementation of PEP-425 parsing, that was different than the one in pip.

In order not to duplicate another piece of code, wouldn't it be better to lift pep425tags into packaging, which is vendored in both pip and setuptools?

And since the main consumer of these tags are functions that parse wheel filenames, what do you think about lifting the pip.wheel:Wheel class as well? (which would be better named WheelFilename, since pretty much all it does is parse information from a potential wheel filename to help deciding whether it should be downloaded/installed or not).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions