diff --git a/micropython/mip/manifest.py b/micropython/mip/manifest.py index 00efa5454..32e130e08 100644 --- a/micropython/mip/manifest.py +++ b/micropython/mip/manifest.py @@ -2,4 +2,9 @@ require("requests") +#dummy packages for pre-v1.20.0 +module("pip.py", opt=3) +module("upip.py", opt=3) + + package("mip", opt=3) diff --git a/micropython/mip/pip.py b/micropython/mip/pip.py new file mode 100644 index 000000000..4a0df0f90 --- /dev/null +++ b/micropython/mip/pip.py @@ -0,0 +1,4 @@ +# Dummy module for upip and pip to redirect user to mip +raise ImportError("""This module has been deprecated, please instead use mip. +https://docs.micropython.org/en/latest/reference/packages.html +""") diff --git a/micropython/mip/upip.py b/micropython/mip/upip.py new file mode 100644 index 000000000..4a0df0f90 --- /dev/null +++ b/micropython/mip/upip.py @@ -0,0 +1,4 @@ +# Dummy module for upip and pip to redirect user to mip +raise ImportError("""This module has been deprecated, please instead use mip. +https://docs.micropython.org/en/latest/reference/packages.html +""")