Skip to content

top: Replace upip with mip everywhere.#9463

Merged
dpgeorge merged 3 commits into
micropython:masterfrom
jimmo:new-upip
Sep 30, 2022
Merged

top: Replace upip with mip everywhere.#9463
dpgeorge merged 3 commits into
micropython:masterfrom
jimmo:new-upip

Conversation

@jimmo
Copy link
Copy Markdown
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
Copy Markdown
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 <[email protected]>
Comment thread docs/develop/gettingstarted.rst Outdated
Comment thread docs/reference/glossary.rst Outdated
Comment thread docs/reference/manifest.rst Outdated
Comment thread docs/reference/packages.rst Outdated
Comment thread docs/reference/packages.rst
Comment thread docs/reference/packages.rst Outdated
Comment thread docs/reference/packages.rst
@dpgeorge
Copy link
Copy Markdown
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
Copy Markdown
Member Author

jimmo commented Sep 30, 2022

Addressed all comments.

@jimmo
Copy link
Copy Markdown
Member Author

jimmo commented Sep 30, 2022

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

Comment thread docs/reference/glossary.rst Outdated

mip
A package installer for MicroPython (mip - "mip installs packages"). It
installs Python packages packages either from :term:`micropython-lib`
Copy link
Copy Markdown
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 <[email protected]>
Recursive glob isn't supported before Python 3.5.

Signed-off-by: Jim Mussared <[email protected]>
@victorallume
Copy link
Copy Markdown
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