non-superbuild `make install` on OsX does not work correct for compiled Python modules
The issue is this:
We build vtk<module>Python.so
Python module libraries during the build process and put them under lib/python${pyver}/site-packages/vtk
. They are subsequently copied over to lib/python${pyver}/site-packages/paraview/vtk
. Now, the installation rules for these, simply copy the site-packages
directory over to the installed location under the app. Which means that the libs don't get fixed to update according to the CMAKE_INSTALL_NAME_DIR
specified. That results in all of these *.so
libraries referring to the libraries under the build directory rather than using @executable_path/../Libraries
prefix.
Need to fix that. We should not be installing libraries by copying them.