wbond / package_control

The Sublime Text package manager
https://packagecontrol.io
4.79k stars 816 forks source link

DistInfo class #1563

Closed deathaxe closed 3 years ago

deathaxe commented 3 years ago

Does it make sense to think of the whole .dist-info handling functionality as a dedicated class, so that any functionality needed to read/write library related meta data can be handled by an object later on?

I mean the wheel format has several disadvantages compared to current dependencies, which make handling those more complex. It might therefore be useful to put some of those low-level functions into a class to hide them away and make handling them easier again.

It's just an idea.

wbond commented 3 years ago

I rebased and force-pushed to fix conflicts from #1527