Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for 3141: symlink in consolescript path #3142

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pip/req/req_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
display_path, rmtree, ask_path_exists, backup_dir, is_installable_dir,
dist_in_usersite, dist_in_site_packages, egg_link_path,
call_subprocess, read_text_file, FakeFile, _make_build_dir, ensure_dir,
get_installed_version
get_installed_version, normalize_path
)
from pip.utils.logging import indent_log
from pip.req.req_uninstall import UninstallPathSet
Expand Down Expand Up @@ -698,7 +698,7 @@ def uninstall(self, auto_confirm=False):
bin_dir = bin_user
else:
bin_dir = bin_py
paths_to_remove.add(os.path.join(bin_dir, name))
paths_to_remove.add(normalize_path(os.path.join(bin_dir, name)))
if WINDOWS:
paths_to_remove.add(
os.path.join(bin_dir, name) + '.exe'
Expand Down