def get_install_requires():
requirements = []<EOL>for line in open('<STR_LIT>').readlines():<EOL><INDENT>if line.startswith('<STR_LIT:#>') or line == '<STR_LIT>' or line.startswith('<STR_LIT:http>') or line.startswith('<STR_LIT>'):<EOL><INDENT>continue<EOL><DEDENT>requirements.append(line.replace('<STR_LIT:\n>', '<STR_LIT>'))<EOL><DEDENT>if sys.version_info.major < <NUM_LIT:3>:<EOL><INDENT>requirements.append('<STR_LIT>')<EOL><DEDENT>return requirements<EOL>
parse requirements.txt, ignore links, exclude comments