mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-27 18:36:44 +00:00
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:
parent
888f42494e
commit
0e097874f8
15 changed files with 345 additions and 239 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue