Skip to content

Commit

Permalink
Recent Microsoft compilers generate manifest files that must be unins…
Browse files Browse the repository at this point in the history
…talled along with their .EXEs
  • Loading branch information
dabrahams committed May 3, 2010
1 parent 4b2eedc commit f9d479c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pip/req.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ def uninstall(self, auto_confirm=False):
paths_to_remove.add(os.path.join(bin_py, name))
if sys.platform == 'win32':
paths_to_remove.add(os.path.join(bin_py, name) + '.exe')
paths_to_remove.add(os.path.join(bin_py, name) + '.exe.manifest')
paths_to_remove.add(os.path.join(bin_py, name) + '-script.py')

paths_to_remove.remove(auto_confirm)
Expand Down

0 comments on commit f9d479c

Please sign in to comment.