class_docstr: Build Bazel artifacts and move generated files.
code: def finalize_options(self):
      self._bazel_cmd = shutil.which("bazel")
      if not self._bazel_cmd:
          raise RuntimeError(
              'Could not find "bazel" binary. Please visit '
              "https://docs.bazel.build/versions/master/install.html for "
              "installation instruction."
          )
      self._additional_build_options = []
      if platform.system() == "Darwin":
          # This flag determines the platform qualifier of the macos wheel.
          if platform.machine() == "arm64":
              self._additional_build_options = [
                  "--macos_minimum_os=11.0",
                  "--config=macos_arm64",
              ]
          else:
              self._additional_build_options = [
                  "--macos_minimum_os=10.14"
              ]
  
          if "ICONV_LIBRARIES" in os.environ:
              self._additional_build_options.append(
                  "--action_env=CMAKE_ICONV_FLAG=-DICONV_LIBRARIES="
                  + os.environ["ICONV_LIBRARIES"]
              )
  
imports: import os
  import platform
  import shutil
  import subprocess
  import setuptools
  from setuptools import find_packages
  from setuptools import setup
  from setuptools.command.install import install
  from setuptools.dist import Distribution
  from distutils.command import build
label_desc: Use image node_id 2 for calling the _BazelBuildCommand obj's underlying member method code with example usage: obj.finalize_options() without return types