Closed srittau closed 8 months ago
@Avasam Could you review this? It should be fairly self-explanatory, even if you are not well-versed with the stub uploader.
I can do a proper review tomorow. But a first overview from my phone this looks good. This is an area of stub_uploader I'm a bit familiar with.
This is a preliminary refactoring for fixing python/typeshed#11254. The idea is that the new class
PackageData
encapsulates all data concerning packages and their contents. This allows us later to find the top-level non-namespace packages, instead of just the top-level packages as we are doing now.