class_docstr: Custom command to clean the .so and .pyc files.
code: def initialize_options(self) -> None:
      self.all = True
      self._clean_me = []
      self._clean_trees = []
  
      base = pjoin("pandas", "_libs", "src")
      parser = pjoin(base, "parser")
      vendored = pjoin(base, "vendored")
      dt = pjoin(base, "datetime")
      ujson_python = pjoin(vendored, "ujson", "python")
      ujson_lib = pjoin(vendored, "ujson", "lib")
      self._clean_exclude = [
          pjoin(vendored, "numpy", "datetime", "np_datetime.c"),
          pjoin(vendored, "numpy", "datetime", "np_datetime_strings.c"),
          pjoin(dt, "date_conversions.c"),
          pjoin(parser, "tokenizer.c"),
          pjoin(parser, "io.c"),
          pjoin(ujson_python, "ujson.c"),
          pjoin(ujson_python, "objToJSON.c"),
          pjoin(ujson_python, "JSONtoObj.c"),
          pjoin(ujson_lib, "ultrajsonenc.c"),
          pjoin(ujson_lib, "ultrajsondec.c"),
          pjoin(dt, "pd_datetime.c"),
          pjoin(parser, "pd_parser.c"),
      ]
  
      for root, dirs, files in os.walk("pandas"):
          for f in files:
              filepath = pjoin(root, f)
              if filepath in self._clean_exclude:
                  continue
  
              if os.path.splitext(f)[-1] in (
                  ".pyc",
                  ".so",
                  ".o",
                  ".pyo",
                  ".pyd",
                  ".c",
                  ".cpp",
                  ".orig",
              ):
                  self._clean_me.append(filepath)
          self._clean_trees.append(
              pjoin(root, d) for d in dirs if d == "__pycache__"
          )
  
      # clean the generated pxi files
      for pxifile in _pxifiles:
          pxifile_replaced = pxifile.replace(".pxi.in", ".pxi")
          self._clean_me.append(pxifile_replaced)
  
      self._clean_trees.append(
          d for d in ("build", "dist") if os.path.exists(d)
      )
  
imports: import argparse
  import multiprocessing
  import os
  from os.path import join
  import platform
  import shutil
  import sys
  from sysconfig import get_config_vars
  import numpy
  from pkg_resources import parse_version
  from setuptools import Command, Extension, setup
  from setuptools.command.build_ext import build_ext
  import versioneer
label_desc: Use image node_id 1 for calling the CleanCommand obj's underlying member method code with example usage: obj.initialize_options() without return types