class_docstr: Generate proto stub files in python.
  
  Running this command will populate foo_pb2.py file next to your foo.proto
  file.
class_docstr_tok: ["Generate","proto","stub","files","in","python",".","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."
          )
  
imports: import logging
  import os
  import shutil
  import subprocess
  import sys
  import setuptools
  from setuptools import find_namespace_packages
  from setuptools import setup
  from setuptools.command import develop
  from distutils.command import build
  from tfx import dependencies
  from tfx import version
  from wheel import bdist_wheel
  import package_config
label_desc: Use image node_id 2 for calling the _GenProtoCommand obj's underlying member method code with example usage: obj.finalize_options() without return types