code: def get_and_set_info(contrib, headless, rolling, ci_build):
      # cv2/version.py should be generated by running find_version.py
      version = {}
      here = os.path.abspath(os.path.dirname(__file__))
      version_file = os.path.join(here, "cv2", "version.py")
  
      # generate a fresh version.py always when Git repository exists
      # (in sdists the version.py file already exists)
      if os.path.exists(".git"):
          old_args = sys.argv.copy()
          sys.argv = [
              "",
              str(contrib),
              str(headless),
              str(rolling),
              str(ci_build),
          ]
          runpy.run_path("find_version.py", run_name="__main__")
          sys.argv = old_args
  
      with open(version_file) as fp:
          exec(fp.read(), version)
  
      return (
          version["opencv_version"],
          version["contrib"],
          version["headless"],
          version["rolling"],
      )
  
file_path: opencv-python/setup.py
imports: import io
  import os
  import os.path
  import sys
  import runpy
  import subprocess
  import re
  import sysconfig
  import platform
  from skbuild import cmaker, setup
label_desc: Use image node_id 2 for calling a global function with example usage: get_and_set_info(contrib, headless, rolling, ci_build) and returns: version,  version,  version,  version