kopia lustrzana https://github.com/micropython/micropython-lib
micropython/mip: Add upip.py and pip.py dummy modules
Added upip.py and pip.py, identical. These files throw an ImportError. mip\'s manifest.py also altered to load as modules. The purpose is to alert users guided to install with deprecated pip/upip (prior to 1.20.0) to instead use mip. Signed-off-by: Adam G <adam@adammakesthings.dev>pull/820/head
rodzic
ffb07dbce5
commit
113c7ce9a1
|
@ -2,4 +2,9 @@ metadata(version="0.2.0", description="On-device package installer for network-c
|
|||
|
||||
require("requests")
|
||||
|
||||
#dummy packages for pre-v1.20.0
|
||||
module("pip.py", opt=3)
|
||||
module("upip.py", opt=3)
|
||||
|
||||
|
||||
package("mip", opt=3)
|
||||
|
|
|
@ -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
|
||||
""")
|
|
@ -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
|
||||
""")
|
Ładowanie…
Reference in New Issue