def parse_requirements(filename='<STR_LIT>'):
lineiter = (line.strip() for line in open(filename))<EOL>return [line for line in lineiter if line and not line.startswith("<STR_LIT:#>")]<EOL>
load requirements from a pip requirements file. (replacing from pip.req import parse_requirements)