code: def get_install_requires():
      
      requirements = []
      for line in open('requirements.txt').readlines():
          # skip to next iteration if comment or empty line
          if line.startswith('#') or line == '' or line.startswith('http') or line.startswith('git'):
              continue
          # add line to requirements
          requirements.append(line)
      return requirements
docs: parse requirements.txt, ignore links, exclude comments