Skip to content

Commit a6d2123

Browse files
committed
Remove redundant path normalization in preparer
wheel_download_dir is normalized at the beginning of the wheel command
1 parent f558197 commit a6d2123

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/pip/_internal/operations/prepare.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
backup_dir,
3636
display_path,
3737
hide_url,
38-
normalize_path,
3938
path_to_display,
4039
rmtree,
4140
)
@@ -372,8 +371,6 @@ def __init__(
372371
# Where still-packed .whl files should be written to. If None, they are
373372
# written to the download_dir parameter. Separate to download_dir to
374373
# permit only keeping wheel archives for pip wheel.
375-
if wheel_download_dir:
376-
wheel_download_dir = normalize_path(wheel_download_dir)
377374
self.wheel_download_dir = wheel_download_dir
378375

379376
# NOTE

0 commit comments

Comments
 (0)