diff --git a/doc/source/conf.py b/doc/source/conf.py index c33617f664..d2b9704a64 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -22,8 +22,6 @@ import sys import os -import nibabel - # Check for external Sphinx extensions we depend on try: import numpydoc @@ -89,7 +87,7 @@ # built documents. # # The short X.Y version. -version = nibabel.__version__ +version = rel['VERSION'] # The full version, including alpha/beta/rc tags. release = version