code: def find_packages(top=HERE):
      """
      Find all of the packages.
      """
      packages = []
      for d, dirs, _ in os.walk(top, followlinks=True):
          if os.path.exists(os.path.join(d, "__init__.py")):
              packages.append(
                  os.path.relpath(d, top).replace(os.path.sep, ".")
              )
          elif d != top:
              # Do not look for packages in subfolders if current is not a package
              dirs[:] = []
      return packages
  
imports: import io
  import os
  import re
  from setuptools import setup
label_desc: Use image node_id 4 for calling a global function with example usage: find_packages(top) and returns: packages