kopia lustrzana https://github.com/micropython/micropython-lib
upip: Add installation path hints to usage message.
rodzic
d6f91563e6
commit
8bb8b59dc3
|
@ -211,9 +211,12 @@ def cleanup():
|
||||||
print("Warning: Cannot delete " + fname)
|
print("Warning: Cannot delete " + fname)
|
||||||
|
|
||||||
def help():
|
def help():
|
||||||
print("upip - Simple PyPI package manager for MicroPython")
|
|
||||||
print("Usage: micropython -m upip install <package>... | -r <requirements.txt>")
|
|
||||||
print("""\
|
print("""\
|
||||||
|
upip - Simple PyPI package manager for MicroPython
|
||||||
|
Usage: micropython -m upip install [-p <path>] <package>... | -r <requirements.txt>
|
||||||
|
|
||||||
|
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
|
Note: only MicroPython packages (usually, micropython-*) are supported for
|
||||||
installation, upip does not support arbitrary code in setup.py.""")
|
installation, upip does not support arbitrary code in setup.py.""")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Ładowanie…
Reference in New Issue