code: def find_version(*file_paths):
      try:
          with io.open(
              os.path.join(os.path.dirname(__file__), *file_paths),
              encoding="utf8",
          ) as fp:
              version_file = fp.read()
          version_match = re.search(
              r"^__version__ = version = ['\"]([^'\"]*)['\"]",
              version_file,
              re.M,
          )
          return version_match.group(1)
      except Exception:
          return None
  
imports: import io
  import os
  import re
  import sys
  from setuptools import find_packages, setup
label_desc: Use image node_id 1 for calling a global function with example usage: find_version() and returns: version_match, None