diff --git a/upip/upip.py b/upip/upip.py index c6ad2e1b..2786bd41 100644 --- a/upip/upip.py +++ b/upip/upip.py @@ -211,9 +211,12 @@ def cleanup(): print("Warning: Cannot delete " + fname) def help(): - print("upip - Simple PyPI package manager for MicroPython") - print("Usage: micropython -m upip install ... | -r ") print("""\ +upip - Simple PyPI package manager for MicroPython +Usage: micropython -m upip install [-p ] ... | -r + +If -p is not given, packages will be installed to first path component of +MICROPYPATH, or to ~/.micropython/lib/ by default. Note: only MicroPython packages (usually, micropython-*) are supported for installation, upip does not support arbitrary code in setup.py.""") sys.exit(1)