class_docstr: Build TFDV C++ extensions and public protos with Bazel.
  
  Running this command will populate foo_pb2.py file next to your foo.proto
  file.
class_docstr_tok: ["Build","TFDV","C++","extensions","and","public","protos","with","Bazel",".","Running","this","command","will","populate","foo_pb2.py","file","next","to","your","foo.proto","file","."]
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":
          self._additional_build_options = ["--macos_minimum_os=10.14"]
      elif platform.system() == "Windows":
          self._additional_build_options = [
              "--copt=-DWIN32_LEAN_AND_MEAN"
          ]
  
imports: import os
  import platform
  import shutil
  import subprocess
  import sys
  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