class_docstr: Build command that generates protos, builds binary graphs and extension, builds python source, and performs a cleanup afterwards.
class_docstr_tok: ["Build","command","that","generates","protos",",","builds","binary","graphs","and","extension",",","builds","python","source",",","and","performs","a","cleanup","afterwards","."]
code: def run(self):
      _modify_opencv_cmake_rule(self.link_opencv)
      _add_mp_init_files()
      build_modules_obj = self.distribution.get_command_obj(
          "build_modules"
      )
      build_modules_obj.link_opencv = self.link_opencv
      build_ext_obj = self.distribution.get_command_obj("build_ext")
      build_ext_obj.link_opencv = self.link_opencv
      self.run_command("gen_protos")
      self.run_command("generate_metadata_schema")
      self.run_command("build_modules")
      self.run_command("build_ext")
      build_py.build_py.run(self)
      self.run_command("restore")
  
imports: import glob
  import os
  import platform
  import posixpath
  import re
  import shlex
  import shutil
  import subprocess
  import sys
  import setuptools
  from setuptools.command import build_ext
  from setuptools.command import build_py
  from setuptools.command import install
label_desc: Use image node_id 3 for calling the BuildPy obj's underlying member method code with example usage: obj.run() without return types