From d804100c20efa840496db733d62a10c12fbf7871 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 9 Oct 2016 02:13:05 +0300 Subject: [PATCH] upip: Add import-based usage help. --- upip/upip.py | 1 + 1 file changed, 1 insertion(+) diff --git a/upip/upip.py b/upip/upip.py index 6fece235..652e947c 100644 --- a/upip/upip.py +++ b/upip/upip.py @@ -206,6 +206,7 @@ def help(): print("""\ upip - Simple PyPI package manager for MicroPython Usage: micropython -m upip install [-p ] ... | -r +import upip; upip.install(package_or_list, []) If is not given, packages will be installed into sys.path[1] (can be set from MICROPYPATH environment variable, if current system