Closed
Description
I've already done bunch of changes towards supporting baremetal systems. More things to discuss/do:
- Upstream pip doesn't seem to have easy programmatical interface to its functionality (it has stuff like pip.commands.install.InstallCommand, which is definitely not what we need). So, proposed interface is
upip.install(package_name_or_list, path=None)
. - If
path
above is None, it will be deduced, specifically sys.path[1] taken for baremetal system (/lib
for esp8266 e.g., others should be updated to have preferred-to-install path as sys.path[1]). - The idea is to use 4K dictionary space for gzip decompression. This will require repacking and re-pushing all micropython-lib packages to PyPI.
@dpgeorge , let's discuss.
Metadata
Metadata
Assignees
Labels
No labels