File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 2222import sys
2323import os
2424
25- import nibabel
26-
2725# Check for external Sphinx extensions we depend on
2826try :
2927 import numpydoc
3432except ImportError :
3533 raise RuntimeError ('Need to install "texext" package for doc build' )
3634
35+ # Need nibabel installed as well
36+ try :
37+ import nibabel
38+ except ImportError :
39+ raise RuntimeError ('Need nibabel on Python PATH; consider "make htmldoc" '
40+ 'from nibabel root directory' )
41+
3742# If extensions (or modules to document with autodoc) are in another directory,
3843# add these directories to sys.path here. If the directory is relative to the
3944# documentation root, use os.path.abspath to make it absolute, like shown here.
8287
8388# General information about the project.
8489project = u'NiBabel'
85- copyright = u'2006-2016 , %(MAINTAINER)s <%(AUTHOR_EMAIL)s>' % rel
90+ copyright = u'2006-2017 , %(MAINTAINER)s <%(AUTHOR_EMAIL)s>' % rel
8691
8792# The version info for the project you're documenting, acts as replacement for
8893# |version| and |release|, also used in various other places throughout the
You can’t perform that action at this time.
0 commit comments