More Mac fixes

This commit is contained in:
Andrew Hutchings 2012-10-25 14:43:47 +01:00
parent 416fe33ade
commit 7df00fb1c8

View File

@ -13,6 +13,7 @@
# serve to show the default.
import datetime
import sys
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
@ -26,7 +27,8 @@ import datetime
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['rst2pdf.pdfbuilder']
if sys.platform is not 'darwin':
extensions = ['rst2pdf.pdfbuilder']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']