def load_requirements(*requirements_paths):
requirements = set()<EOL>for path in requirements_paths:<EOL><INDENT>requirements.update(<EOL>line.strip() for line in open(path).readlines()<EOL>if is_requirement(line)<EOL>)<EOL><DEDENT>return list(requirements)<EOL>
Load all requirements from the specified requirements files.
Returns a list of requirement strings.