code: def get_version(rel_path):
      for line in read(rel_path).splitlines():
          if line.startswith("__version__"):
              delim = '"' if '"' in line else "'"
              return line.split(delim)[1]
      else:
          raise RuntimeError("Unable to find version string.")
  
imports: import setuptools
  import codecs
  import os.path
  from collections import defaultdict
label_desc: Use image node_id 2 for calling a global function with example usage: get_version(rel_path) and returns: line