code: def _patch_prebuild(cls):
      
      orig_run = cls.run
  
      def new_run(self):
          self.run_command("prebuild")
          orig_run(self)
  
      cls.run = new_run
docs: Patch a setuptools command to depend on `prebuild`