astropy/astropy — pull request #1225 by mdboom (2013-07-03 00:36:03+00:00)
Title: Generate a config file if matplotlib is installed but not Sphinx

Noticed this weird side case when I tried to build in a virtualenv with matplotlib but not Sphinx installed