Skip to content

Commit

Permalink
fix on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Jan 7, 2024
1 parent 4b27fd3 commit 1d4c02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piptools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def maybe_statically_parse_project_metadata(
if requirement.name == package_name:
# Similar to logic for handling self-referential requirements
# from _prepare_requirements
requirement.url = f"file://{src_file.parent}"
requirement.url = f"file://{src_file.parent.as_posix()}"
# Note we don't need to modify `requirement` to include this extra
marker = Marker(f"extra == '{extra}'")
install_requirements.append(
Expand Down

0 comments on commit 1d4c02e

Please sign in to comment.