Author: Diane Trout <diane@ghic.org>
Last-Update: 2017-09-24 23:27:12 -0700
Description: Use Python3 to create documentation

Index: statsmodels-0.8.0/docs/Makefile
===================================================================
--- statsmodels-0.8.0.orig/docs/Makefile
+++ statsmodels-0.8.0/docs/Makefile
@@ -65,9 +65,9 @@ html:
 	@echo "Generating reST from examples folder"
 	#$(TOOLSPATH)$(EXAMPLEBUILD)
 	@echo "Generating datasets from installed statsmodels.datasets"
-	$(TOOLSPATH)$(DATASETBUILD)
+	python3 $(TOOLSPATH)$(DATASETBUILD)
 	@echo "Generating notebooks from examples/notebooks folder"
-	$(TOOLSPATH)$(NOTEBOOKBUILD) --execute=True --allow_errors=True
+	python3 $(TOOLSPATH)$(NOTEBOOKBUILD) --execute=True --allow_errors=True
 	@echo "Running sphinx-build"
 	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
 	@echo "Copying rendered example notebooks"
