Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requests: Support file:// scheme for local files #989

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

asdil12
Copy link

@asdil12 asdil12 commented Mar 24, 2025

This allows installing packages using mip
from an index served from the local fs.

Usecases:

For local testing (especially but not necessarily limited to) using the unix port.
So you can locally generate an index from the repo and install packages from the index without starting a local http server.

And for packaging the complete index of this repo for the opensuse rpm (micropython-lib) without needing to launch an http server within the build environment. Previous we were using the makefile that was dropped from this repo so I decided to generate a local index and then install all packages contained in that index to the buildroot.

This allows installing packages using mip
from an index served from the local fs.

Signed-off-by: Dominik Heidler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant