code: def cleanup_build_remnants(target_provider_root_sources_path: Path):
      get_console().print(
          f"\n[info]Cleaning remnants in {target_provider_root_sources_path}"
      )
      for file in target_provider_root_sources_path.glob("*.egg-info"):
          shutil.rmtree(file, ignore_errors=True)
      shutil.rmtree(
          target_provider_root_sources_path / "build",
          ignore_errors=True,
      )
      shutil.rmtree(
          target_provider_root_sources_path / "dist", ignore_errors=True
      )
      get_console().print(
          f"[info]Cleaned remnants in {target_provider_root_sources_path}\n"
      )
  
imports: from __future__ import annotations
  import shutil
  import subprocess
  import sys
  from pathlib import Path
  from shutil import copytree, rmtree
  from typing import Any, TextIO
  from airflow_breeze.utils.console import get_console
  from airflow_breeze.utils.packages import get_available_packages, get_latest_provider_tag, get_not_ready_provider_ids, get_provider_details, get_provider_jinja_context, get_removed_provider_ids, get_source_package_path, get_target_root_for_copied_provider_sources, render_template, tag_exists_for_provider
  from airflow_breeze.utils.path_utils import AIRFLOW_SOURCES_ROOT
  from airflow_breeze.utils.run_utils import run_command
label_desc: Use image node_id 8 for calling a global function with example usage: cleanup_build_remnants(target_provider_root_sources_path) without return types