code: def read_version_from_cmakelists(cmake_file):
      """Read version information"""
      major = re.findall(
          'set\(CPACK_PACKAGE_VERSION_MAJOR.*"(.*)"',
          open(cmake_file).read(),
      )[0]
      minor = re.findall(
          'set\(CPACK_PACKAGE_VERSION_MINOR.*"(.*)"',
          open(cmake_file).read(),
      )[0]
      patch = re.findall(
          'set\(CPACK_PACKAGE_VERSION_PATCH.*"(.*)"',
          open(cmake_file).read(),
      )[0]
      return major + "." + minor + "." + patch
  
imports: import os
  import re
  import sys
  import shutil
  import platform
  import subprocess
  import multiprocessing
  from distutils import log
  from math import ceil, floor
  from setuptools import find_packages, setup, Extension
  from setuptools.command.build_ext import build_ext
  from distutils.version import LooseVersion
  from setuptools.command.test import test
label_desc: Use image node_id 4 for calling a global function with example usage: read_version_from_cmakelists(cmake_file) and returns: unknown