def read_requirements():
reqs_path = os.path.join(__location__, '<STR_LIT>')<EOL>with open(reqs_path, encoding='<STR_LIT:utf8>') as f:<EOL><INDENT>reqs = [line.strip() for line in f if not line.strip().startswith('<STR_LIT:#>')]<EOL><DEDENT>names = []<EOL>links = []<EOL>for req in reqs:<EOL><INDENT>if '<STR_LIT>' in req:<EOL><INDENT>links.append(req)<EOL><DEDENT>else:<EOL><INDENT>names.append(req)<EOL><DEDENT><DEDENT>return {'<STR_LIT>': names, '<STR_LIT>': links}<EOL>
parses requirements from requirements.txt