Skip to content

top: Replace upip with mip everywhere. #9463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 30, 2022
Merged

Conversation

jimmo
Copy link
Member

@jimmo jimmo commented Sep 29, 2022

Updates all README.md and docs, and manifests to require("mip").

Also extend and improve the documentation on freezing and packaging, in particular a fairly significant overhaul of manifest.rst and packaging.rst.

This work was funded through GitHub Sponsors.

@jimmo
Copy link
Member Author

jimmo commented Sep 29, 2022

See micropython/micropython-lib#542 for more info about mip.

This brings in the `mip` tool for installing packages.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
@dpgeorge
Copy link
Member

TODO:

  • add removed upip to micropython-lib

@dpgeorge dpgeorge added docs tools Relates to tools/ directory in source, or other tooling micropython-lib labels Sep 30, 2022
@jimmo
Copy link
Member Author

jimmo commented Sep 30, 2022

Addressed all comments.

@jimmo
Copy link
Member Author

jimmo commented Sep 30, 2022

Added a fix to tools/manifestfile.py to fix Python 2 compatibility.

@@ -151,16 +151,26 @@ Glossary
machine-independent features. It can also function in a similar way to
:term:`CPython`'s ``python`` executable.

mip
A package installer for MicroPython (mip - "mip installs packages"). It
installs Python packages packages either from :term:`micropython-lib`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"packages packages"

Updates all README.md and docs, and manifests to `require("mip")`.

Also extend and improve the documentation on freezing and packaging.

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Recursive glob isn't supported before Python 3.5.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
@victorallume
Copy link
Contributor

After updating beyond this, I was getting an error: Library not found in local micropython-lib: mip. Running git submodule update --recursive --init from the project root resolved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs tools Relates to tools/ directory in source, or other tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants