Mention the ability to use extra index with micropip (#4910)

This commit is contained in:
M Bussonnier 2024-07-04 01:39:16 -07:00 committed by GitHub
parent 9428c6f69e
commit 805f9b3d8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -74,6 +74,15 @@ pyodide.runPython(`
Micropip implements file integrity validation by checking the hash of the Micropip implements file integrity validation by checking the hash of the
downloaded wheel against pre-recorded hash digests from the PyPI JSON API. downloaded wheel against pre-recorded hash digests from the PyPI JSON API.
(micropip-installing-from-other-indexes)=
### Installing wheels from different indexes
By default micropip will look for wheel on [pypi](https://pypi.org). It is
possible to provide a list of indexes url to the install commands via the
[`index_urls`](https://micropip.pyodide.org/en/stable/project/api.html#micropip.install)
parameter of the `install` command.
(micropip-installing-from-arbitrary-urls)= (micropip-installing-from-arbitrary-urls)=
### Installing wheels from arbitrary URLs ### Installing wheels from arbitrary URLs