code: def get_analytics_zoo_packages():
      analytics_zoo_python_home = analytics_zoo_home + "/pyzoo/zoo"
      analytics_zoo_packages = ["zoo.share"]
      for dirpath, dirs, files in os.walk(analytics_zoo_python_home):
          package = dirpath.split(analytics_zoo_home + "/pyzoo/")[
              1
          ].replace("/", ".")
          if any(
              fnmatch.fnmatchcase(package, pat=pattern)
              for pattern in exclude_patterns
          ):
              print("excluding", package)
          else:
              analytics_zoo_packages.append(package)
              print("including", package)
      return analytics_zoo_packages
  
file_path: analytics-zoo/pyzoo/setup.py
imports: import os
  import sys
  from shutil import copyfile, copytree, rmtree
  import fnmatch
  from setuptools import setup
label_desc: Use image node_id 1 for calling a global function with example usage: get_analytics_zoo_packages() and returns: analytics_zoo_packages