Skip to content

Commit

Permalink
MAINT micropip: move most methods from PackageManager to `Transacti…
Browse files Browse the repository at this point in the history
…on` and remove `PackageManager` (#2565)

This is more reorganization of `micropip` to try to make the logic easier to follow.
I turned `INSTALLED_PACKAGES` into a global variable. I turned `_install` into
a top level function definition and merged it with `install` rather than a class method.
The other methods of `PackageManager` turned into `Transaction` methods. I also 
removed `PackageManager` entirely.
  • Loading branch information
hoodmane committed May 17, 2022
1 parent 71629d8 commit c4cc406
Show file tree
Hide file tree
Showing 2 changed files with 159 additions and 196 deletions.

0 comments on commit c4cc406

Please sign in to comment.