Commit ec1cd8e0 authored by jcfr's avatar jcfr
Browse files

BUG: PythonManager - For non installed case - Look for "vtkWrapPython" instead...

BUG: PythonManager - For non installed case - Look for "vtkWrapPython" instead of "vtk" to properly set python path

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15597 3bd1e089-480b-0410-8dfb-8563597acbee
parent bd9b1af3
...@@ -69,7 +69,7 @@ QStringList qSlicerCorePythonManager::pythonPaths() ...@@ -69,7 +69,7 @@ QStringList qSlicerCorePythonManager::pythonPaths()
if (!app->isInstalled()) if (!app->isInstalled())
{ {
paths << qSlicerUtils::searchTargetInIntDir(QLatin1String(VTK_DIR)+"/bin", paths << qSlicerUtils::searchTargetInIntDir(QLatin1String(VTK_DIR)+"/bin",
QString("vtk%1").arg(executableExtension)); QString("vtkWrapPython%1").arg(executableExtension));
paths << QString("%1/Wrapping/Python").arg(VTK_DIR); paths << QString("%1/Wrapping/Python").arg(VTK_DIR);
paths << QString("%1/CTK-build/bin/Python").arg(CTK_DIR); paths << QString("%1/CTK-build/bin/Python").arg(CTK_DIR);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment