parameters: ()
return_statement: return True
docstring: Launches a subprocess running Python PyInstaller with the spec file from
      the package folder. Captures the output streams and checks for errors.
      :return: Boolean indicating the success state of the operation.
docstring_summary: Launches a subprocess running Python PyInstaller with the spec file from
      the package folder. Captures the output streams and checks for errors.
      :return: Boolean indicating the success state of the operation.
docstring_tokens: Launches a subprocess running Python PyInstaller with the spec file from the package folder . Captures the output streams and checks for errors . : return : Boolean indicating the success state of the operation .
function: def pyinstaller_build():
      """
      Launches a subprocess running Python PyInstaller with the spec file from
      the package folder. Captures the output streams and checks for errors.
      :return: Boolean indicating the success state of the operation.
      """
      process_args = ["pyinstaller",
                      "%s" % os.path.join("package", "pyinstaller.spec")]
      print(script_tab + "Command: %s" % process_args)
  
      pyinstaller_process = subprocess.Popen(process_args)
      _, _ = pyinstaller_process.communicate()
  
      if pyinstaller_process.returncode != 0:
          print(script_tab + "ERROR: PyInstaller returned with exit code: %s" %
                pyinstaller_process.returncode)
          return False
  
      return True
function_tokens: def pyinstaller_build ( ) : process_args = [ "pyinstaller" , "%s" % os . path . join ( "package" , "pyinstaller.spec" ) ] print ( script_tab + "Command: %s" % process_args ) pyinstaller_process = subprocess . Popen ( process_args ) _ , _ = pyinstaller_process . communicate ( ) if pyinstaller_process . returncode != 0 : print ( script_tab + "ERROR: PyInstaller returned with exit code: %s" % pyinstaller_process . returncode ) return False return True