Python path detection fails in mac app bundle
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
If there is a directory named lib one directory up from the location of the .app bundle, the python path is not initialized correctly.
Example: I have $HOME/lib and put paraview.app in $HOME/Desktop. If I rename lib or move the app up and down a level the problem is fixed.
This seems to be because of the test for is_build on line 200 of