code: def run(self):
      Clean.run(self)
      # Remove c files if we are not within a sdist package
      cwd = os.path.abspath(os.path.dirname(__file__))
      remove_c_files = not os.path.exists(os.path.join(cwd, "PKG-INFO"))
      if remove_c_files:
          print("Will remove generated .c files")
      if os.path.exists("build"):
          shutil.rmtree("build")
      for dirpath, dirnames, filenames in os.walk(DISTNAME):
          for filename in filenames:
              if any(
                  filename.endswith(suffix)
                  for suffix in (".so", ".pyd", ".dll", ".pyc")
              ):
                  print(f"Removing file: {filename}")
                  os.unlink(os.path.join(dirpath, filename))
                  continue
              extension = os.path.splitext(filename)[1]
              if remove_c_files and extension in [".c", ".cpp"]:
                  pyx_file = str.replace(filename, extension, ".pyx")
                  if os.path.exists(os.path.join(dirpath, pyx_file)):
                      os.unlink(os.path.join(dirpath, filename))
          for dirname in dirnames:
              if dirname == "__pycache__":
                  absdir = os.path.join(dirpath, dirname)
                  print(f"Removing directory: {absdir}")
                  shutil.rmtree(absdir)
  
file_path: pmdarima/setup.py
imports: import sys
  import os
  import platform
  import shutil
  from distutils.command.clean import clean
  from packaging.version import Version
  from setuptools import find_packages
  import traceback
  import importlib
  import builtins
  import pmdarima
label_desc: Use image node_id 1 for calling the CleanCommand obj's underlying member method code with example usage: obj.run() without return types