MCPcopy Create free account
hub / github.com/MITK/MITK / BeginPostInstallPhase

Method BeginPostInstallPhase

Modules/PythonInstaller/src/QmitkPipInstaller.cpp:658–670  ·  view source on GitHub ↗

Called once all pip groups have finished. If no post-install steps are configured, immediately emits the terminal InstallFinished. Otherwise enters the RunningPostInstall state and kicks off the first step.

Source from the content-addressed store, hash-verified

656// configured, immediately emits the terminal InstallFinished. Otherwise
657// enters the RunningPostInstall state and kicks off the first step.
658void QmitkPipInstaller::BeginPostInstallPhase()
659{
660 if (m_Spec.postInstallSteps.empty())
661 {
662 m_State = m_AnyFailed ? State::Failed : State::Done;
663 emit InstallFinished(!m_AnyFailed);
664 return;
665 }
666
667 m_State = State::RunningPostInstall;
668 m_CurrentPostInstallStep = 0;
669 this->StartPostInstallStep();
670}
671
672void QmitkPipInstaller::StartPostInstallStep()
673{

Callers 3

StartResolveGroupMethod · 0.95
StartInstallPackageMethod · 0.95
AdvanceToNextGroupMethod · 0.95

Calls 2

StartPostInstallStepMethod · 0.95
emptyMethod · 0.45

Tested by

no test coverage detected