mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
Support relative file:
paths for --find-links
(#1147)
Just for consistency.
This commit is contained in:
parent
4e19e6846d
commit
15ca17a68d
2 changed files with 51 additions and 19 deletions
|
@ -714,6 +714,7 @@ fn parse_extras(cursor: &mut Cursor) -> Result<Vec<ExtraName>, Pep508Error> {
|
|||
/// - `file:///home/ferris/project/scripts/...`
|
||||
/// - `file:../editable/`
|
||||
/// - `../editable/`
|
||||
/// - `https://download.pytorch.org/whl/torch_stable.html`
|
||||
fn parse_url(cursor: &mut Cursor, working_dir: Option<&Path>) -> Result<VerbatimUrl, Pep508Error> {
|
||||
// wsp*
|
||||
cursor.eat_whitespace();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue