code: def get_version(name):
      """Determine version via importlib_metadata
  
      Parameters
      ----------
      name: str
        Name of the folder (package) where from to read version.py
      """
      # delay import so we do not require it for a simple setup stage
      try:
          from importlib.metadata import version as importlib_version
      except ImportError:
          # TODO - remove whenever python >= 3.8
          from importlib_metadata import version as importlib_version
      return importlib_version(name)
  
imports: import datetime
  import os
  import platform
  import sys
  from os import linesep, makedirs
  from os.path import dirname
  from os.path import join
  from os.path import sep
  from os.path import splitext
  import setuptools
  from genericpath import exists
  from packaging.version import Version
  from setuptools import Command, DistutilsOptionError, find_namespace_packages, findall, setup
  from .None import formatters
label_desc: Use image node_id 2 for calling a global function with example usage: get_version(name) and returns: importlib_version