def requires_to_requires_dist(requirement):
requires_dist = []<EOL>for op, ver in requirement.specs:<EOL><INDENT>requires_dist.append(op + ver)<EOL><DEDENT>if not requires_dist:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>return "<STR_LIT>" % '<STR_LIT:U+002C>'.join(requires_dist)<EOL>
Compose the version predicates for requirement in PEP 345 fashion.