MAINT: put sphinx-related code back into the setup.py file