code: def get_model_zoo_configs() -> List[str]:
      """
      Return a list of configs to include in package for model zoo. Copy over these configs inside
      detectron2/model_zoo.
      """
  
      # Use absolute paths while symlinking.
      source_configs_dir = path.join(
          path.dirname(path.realpath(__file__)), "configs"
      )
      destination = path.join(
          path.dirname(path.realpath(__file__)),
          "detectron2",
          "model_zoo",
          "configs",
      )
      # Symlink the config directory inside package to have a cleaner pip install.
  
      # Remove stale symlink/directory from a previous build.
      if path.exists(source_configs_dir):
          if path.islink(destination):
              os.unlink(destination)
          elif path.isdir(destination):
              shutil.rmtree(destination)
  
      if not path.exists(destination):
          try:
              os.symlink(source_configs_dir, destination)
          except OSError:
              # Fall back to copying if symlink fails: ex. on Windows.
              shutil.copytree(source_configs_dir, destination)
  
      config_paths = glob.glob(
          "configs/**/*.yaml", recursive=True
      ) + glob.glob("configs/**/*.py", recursive=True)
      return config_paths
  
file_path: detectron2/setup.py
imports: import glob
  import os
  import shutil
  from os import path
  from setuptools import find_packages, setup
  from typing import List
  import torch
  from torch.utils.cpp_extension import CUDA_HOME, CppExtension, CUDAExtension
label_desc: Use image node_id 3 for calling a global function with example usage: get_model_zoo_configs() and returns: config_paths