code: def get_requirements(
      path: str = HERE / "requirements.txt",
  ) -> Tuple[List[str], List[str]]:
      requirements = []
      extra_indices = []
      with open(path) as f:
          for line in f.readlines():
              line = line.rstrip("\r\n")
              if line.startswith("--extra-index-url "):
                  extra_indices.append(line[18:])
                  continue
              requirements.append(line)
      return requirements, extra_indices
  
imports: from pathlib import Path
  import re
  from typing import List, Tuple
  from setuptools import setup, find_packages
label_desc: Use image node_id 1 for calling a global function with example usage: get_requirements(path) and returns: requirements,  extra_indices