code: def get_version():
      init_py_path = os.path.join(
          os.path.abspath(os.path.dirname(__file__)),
          "vissl",
          "__init__.py",
      )
      init_py = open(init_py_path, "r").readlines()
      version_line = [
          l.strip() for l in init_py if l.startswith("__version__")
      ][0]
      version = version_line.split("=")[-1].strip().strip("'\"")
      return version
  
imports: import os
  import pathlib
  import pkg_resources
  from setuptools import find_namespace_packages, find_packages, setup
label_desc: Use image node_id 2 for calling a global function with example usage: get_version() and returns: version