upip is primarily targeted at network-enabled hardware. Users of hardware without a network connection have to jump through several hoops to use upip to install a library. The following steps are required, some of which may be problematic for beginners:
- Ensure the presence of a Linux installation or VM.
Clone the source.
Build the Unix build.
Put micropython on the path
I have written
micropip.py which aims to simplify this. It runs under CPython 3.2 or greater, and enables installation to a directory on the PC for subsequent copying to the target. It is intended to be cross-platform.
I have tested under Linux, also under Windows XP (I don't have a newer version). I have no access to Apple hardware. So I'd appreciate it if someone could test under Windows 10 and OSX, and if necessary submit PR's.
I'd appreciate the view of @Damien: is there any interest in a PR to put this in tools?