menpo/menpo — pull request #464 by jabooth (2014-10-03 14:05:35+00:00)
Title: make mayavi an optional dependency

Mayavi is not available on Python 3 and is a large cumbersome dependency. Whilst it is great to have for 3D work, it is not used at all whilst working with images in Menpo.

This PR removes mayavi from Menpo as a hard dependency. If a user who doesn't have mayavi installed tries to view a 3D object an `ImportError` is raised that prints the following error:

```
mayavi is required for viewing 3D objects (consider 'conda/pip install mayavi')
```