parameters: ()
return_statement: return True
docstring: Moves the PyInstaller executable folder from dist to project root.
      :return: Boolean indicating the success state of the operation.
docstring_summary: Moves the PyInstaller executable folder from dist to project root.
      :return: Boolean indicating the success state of the operation.
docstring_tokens: Moves the PyInstaller executable folder from dist to project root . : return : Boolean indicating the success state of the operation .
function: def move_executable_folder():
      """
      Moves the PyInstaller executable folder from dist to project root.
      :return: Boolean indicating the success state of the operation.
      """
      original_exec_dir = os.path.join(project_root_dir, "dist", spec_coll_name)
      final_exec_dir = os.path.join(project_root_dir, py_exec_folder)
      if os.path.exists(original_exec_dir):
          print(script_tab + "Moving exec files from %s" % original_exec_dir)
          print(script_tab + "to %s" % final_exec_dir)
          shutil.move(original_exec_dir, final_exec_dir)
      else:
          print(script_tab + "ERROR: PyInstaller executable output folder "
                "'%s' not found!" % original_exec_dir)
          return False
      return True
function_tokens: def move_executable_folder ( ) : original_exec_dir = os . path . join ( project_root_dir , "dist" , spec_coll_name ) final_exec_dir = os . path . join ( project_root_dir , py_exec_folder ) if os . path . exists ( original_exec_dir ) : print ( script_tab + "Moving exec files from %s" % original_exec_dir ) print ( script_tab + "to %s" % final_exec_dir ) shutil . move ( original_exec_dir , final_exec_dir ) else : print ( script_tab + "ERROR: PyInstaller executable output folder " "'%s' not found!" % original_exec_dir ) return False return True