code: def read_requirements():
      """parses requirements from requirements.txt"""
      reqs_path = os.path.join(__location__, "requirements.txt")
      with open(reqs_path, encoding="utf8") as f:
          reqs = [
              line.strip()
              for line in f
              if not line.strip().startswith("#")
          ]
  
      names = []
      links = []
      for req in reqs:
          if "://" in req:
              links.append(req)
          else:
              names.append(req)
      return {"install_requires": names, "dependency_links": links}
  
imports: import os
  import re
  from setuptools import setup, find_packages
label_desc: Use image node_id 1 for calling a global function with example usage: read_requirements() and returns: dict