upip: Add import-based usage help.

pull/107/merge
Paul Sokolovsky 2016-10-09 02:13:05 +03:00
rodzic 47a6633a31
commit d804100c20
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -206,6 +206,7 @@ def help():
print("""\
upip - Simple PyPI package manager for MicroPython
Usage: micropython -m upip install [-p <path>] <package>... | -r <requirements.txt>
import upip; upip.install(package_or_list, [<path>])
If <path> is not given, packages will be installed into sys.path[1]
(can be set from MICROPYPATH environment variable, if current system