'Remove paths in ``self.paths`` with confirmation (unless
``auto_confirm`` is True).'

def remove(self, auto_confirm=False):

    if (not self._can_uninstall()):
        return
    if (not self.paths):
        logger.notify(("Can't    uninstall    '%s'.    No    files    were    found    to    uninstall." % self.dist.project_name))
        return
    logger.notify(('Uninstalling    %s:' % self.dist.project_name))
    logger.indent += 2
    paths = sorted(self.compact(self.paths))
    try:
        if auto_confirm:
            response = 'y'
        else:
            for path in paths:
                logger.notify(path)
            response = ask('Proceed    (y/n)?    ', ('y', 'n'))
        if self._refuse:
            logger.notify('Not    removing    or    modifying    (outside    of    prefix):')
            for path in self.compact(self._refuse):
                logger.notify(path)
        if (response == 'y'):
            self.save_dir = tempfile.mkdtemp(suffix='-uninstall', prefix='pip-')
            for path in paths:
                new_path = self._stash(path)
                logger.info(('Removing    file    or    directory    %s' % path))
                self._moved_paths.append(path)
                renames(path, new_path)
            for pth in self.pth.values():
                pth.remove()
            logger.notify(('Successfully    uninstalled    %s' % self.dist.project_name))
    finally:
        logger.indent -= 2
