def print_results(distributions, list_files=False, verbose=False):
results_printed = False<EOL>for i, dist in enumerate(distributions):<EOL><INDENT>results_printed = True<EOL>if i > <NUM_LIT:0>:<EOL><INDENT>logger.info("<STR_LIT>")<EOL><DEDENT>name = dist.get('<STR_LIT:name>', '<STR_LIT>')<EOL>required_by = [<EOL>pkg.project_name for pkg in pkg_resources.working_set<EOL>if name in [required.name for required in pkg.requires()]<EOL>]<EOL>logger.info("<STR_LIT>", name)<EOL>logger.info("<STR_LIT>", dist.get('<STR_LIT:version>', '<STR_LIT>'))<EOL>logger.info("<STR_LIT>", dist.get('<STR_LIT>', '<STR_LIT>'))<EOL>logger.info("<STR_LIT>", dist.get('<STR_LIT>', '<STR_LIT>'))<EOL>logger.info("<STR_LIT>", dist.get('<STR_LIT>', '<STR_LIT>'))<EOL>logger.info("<STR_LIT>", dist.get('<STR_LIT>', '<STR_LIT>'))<EOL>logger.info("<STR_LIT>", dist.get('<STR_LIT>', '<STR_LIT>'))<EOL>logger.info("<STR_LIT>", dist.get('<STR_LIT:location>', '<STR_LIT>'))<EOL>logger.info("<STR_LIT>", '<STR_LIT:U+002CU+0020>'.join(dist.get('<STR_LIT>', [])))<EOL>logger.info("<STR_LIT>", '<STR_LIT:U+002CU+0020>'.join(required_by))<EOL>if verbose:<EOL><INDENT>logger.info("<STR_LIT>",<EOL>dist.get('<STR_LIT>', '<STR_LIT>'))<EOL>logger.info("<STR_LIT>", dist.get('<STR_LIT>', '<STR_LIT>'))<EOL>logger.info("<STR_LIT>")<EOL>for classifier in dist.get('<STR_LIT>', []):<EOL><INDENT>logger.info("<STR_LIT>", classifier)<EOL><DEDENT>logger.info("<STR_LIT>")<EOL>for entry in dist.get('<STR_LIT>', []):<EOL><INDENT>logger.info("<STR_LIT>", entry.strip())<EOL><DEDENT><DEDENT>if list_files:<EOL><INDENT>logger.info("<STR_LIT>")<EOL>for line in dist.get('<STR_LIT>', []):<EOL><INDENT>logger.info("<STR_LIT>", line.strip())<EOL><DEDENT>if "<STR_LIT>" not in dist:<EOL><INDENT>logger.info("<STR_LIT>")<EOL><DEDENT><DEDENT><DEDENT>return results_printed<EOL>
Print the informations from installed distributions found.