'Clean up files, remove builds.'

def cleanup_files(self, bundle=False):

    logger.notify('Cleaning    up...')
    logger.indent += 2
    for req in self.reqs_to_cleanup:
        req.remove_temporary_source()
    remove_dir = []
    if self._pip_has_created_build_dir():
        remove_dir.append(self.build_dir)
    if bundle:
        remove_dir.append(self.src_dir)
    for dir in remove_dir:
        if os.path.exists(dir):
            logger.info(('Removing    temporary    dir    %s...' % dir))
            rmtree(dir)
    logger.indent -= 2
