Index: install_egg_info.py =================================================================== --- install_egg_info.py (revision 68460) +++ install_egg_info.py (working copy) @@ -31,6 +31,8 @@ def run(self): target = self.target + if self.install_dir.endswith('\\'): + self.install_dir = self.install_dir[:-1] if os.path.isdir(target) and not os.path.islink(target): dir_util.remove_tree(target, dry_run=self.dry_run) elif os.path.exists(target):