Add support for alternate index URLs (#169)

As elsewhere, we just use the `pip` and `pip-compile` APIs. So we
support `--index-url` to override PyPI, then `--extra-index-url` to add
_additional_ indexes, and `--no-index` to avoid hitting the index at
all.

Closes #156.
This commit is contained in:
Charlie Marsh 2023-10-22 20:18:30 -07:00 committed by GitHub
parent 888f42494e
commit 0e097874f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 345 additions and 239 deletions

View file

@ -15,7 +15,7 @@ pub enum ResolveError {
StreamTermination,
#[error(transparent)]
Client(#[from] puffin_client::PypiClientError),
Client(#[from] puffin_client::Error),
#[error(transparent)]
TrySend(#[from] futures::channel::mpsc::SendError),