Add support for emitting index URLs and --find-links (#1142)

Closes https://github.com/astral-sh/puffin/issues/1140.
This commit is contained in:
Charlie Marsh
2024-01-26 17:37:55 -08:00
committed by GitHub
parent abe1867a0d
commit addb94fbd6
10 changed files with 181 additions and 33 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ pub(crate) async fn resolve_cli(args: ResolveCliArgs) -> Result<()> {
.build();
let flat_index = {
let client = FlatIndexClient::new(&client, &cache);
let entries = client.fetch(index_locations.flat_indexes()).await?;
let entries = client.fetch(index_locations.flat_index()).await?;
FlatIndex::from_entries(entries, venv.interpreter().tags()?)
};
let index = InMemoryIndex::default();