Re #6902. Remove unnecessary code from linux build.

We use system-installed sip & PyQt on linux.
Merge branch 'feature/6902_built_and_installed_on_osx' into develop