ipython/ipython — pull request #7326 by minrk (2014-12-27 08:22:56+00:00)
Title: friendlier error messages when invoke/lessc are missing

and not needed. Error messages gave the illusion (#7313) that these were dependencies when installing from dev.

Examples:

- no invoke

```
running jsversion
running css
rebuilding css and sourcemaps failed (not a problem)
invoke is required to rebuild css (pip install invoke)
checking package data
```

- invoke, no less

```
running css
rebuilding css and sourcemaps failed (not a problem)
Unable to find lessc. Rebuilding css requires less >= 2.0 and < 3.0 (npm install -g 'less@<3.0')
checking package data
```

- less too old

```
running css
rebuilding css and sourcemaps failed (not a problem)
lessc too old: 1.7.5 < 2.0 (npm install -g 'less@<3.0')
checking package data
```

- less missing, but required (`setup.py css` or `sdist`):

```
running css
error: Unable to find lessc. Rebuilding css requires less >= 2.0 and < 3.0 (npm install -g 'less@<3.0')
```

closes #7313