code: def MakeBuildDirectory(self):
      
      # Create the build directory and let pyinstaller loose on it.
      self.build_dir = config.CONFIG.Get(
          "PyInstaller.build_dir", context=self.context)
      self.work_path = config.CONFIG.Get(
          "PyInstaller.workpath_dir", context=self.context)
  
      self.CleanDirectory(self.build_dir)
      self.CleanDirectory(self.work_path)
docs: Prepares the build directory.