Commit 48d208b1 authored by David Partyka's avatar David Partyka
Browse files

Add extra search path to find vtk python modules on Apple.

They are installed in /Library/Python/vtk-<blah>/site-packages on Apple.

Change-Id: I9124d7f3fed53862a37bd8ba4de4ed58de0f63ec
parent aac07ca5
......@@ -282,6 +282,7 @@ static void vtkPythonAppInitPrependPath(const char* self_dir)
const char* inst_dirs[] = {
"/lib/python" VTK_PYTHON_VERSION "/site-packages/vtk", // UNIX --prefix
"/python" VTK_PYTHON_VERSION "/site-packages/vtk", // UNIX + Forwarding exe --prefix
"/../Library/Python/" VTK_PYTHON_VERSION "/site-packages/vtk", // Apple + Forwarding exe
"/lib/python/vtk", // UNIX --home
"/Lib/site-packages/vtk", "/Lib/vtk", // Windows
"/site-packages/vtk", "/vtk", // Windows
......
Supports Markdown
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