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 22
22
import sys
23
23
import os
24
24
25
- import nibabel
26
-
27
25
# Check for external Sphinx extensions we depend on
28
26
try :
29
27
import numpydoc
34
32
except ImportError :
35
33
raise RuntimeError ('Need to install "texext" package for doc build' )
36
34
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
+
37
42
# If extensions (or modules to document with autodoc) are in another directory,
38
43
# add these directories to sys.path here. If the directory is relative to the
39
44
# documentation root, use os.path.abspath to make it absolute, like shown here.
82
87
83
88
# General information about the project.
84
89
project = u'NiBabel'
85
- copyright = u'2006-2016 , %(MAINTAINER)s <%(AUTHOR_EMAIL)s>' % rel
90
+ copyright = u'2006-2017 , %(MAINTAINER)s <%(AUTHOR_EMAIL)s>' % rel
86
91
87
92
# The version info for the project you're documenting, acts as replacement for
88
93
# |version| and |release|, also used in various other places throughout the
You can’t perform that action at this time.
0 commit comments