diff --git a/docs/conf.py b/docs/conf.py index dde50530e..7d9b66417 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,6 +17,7 @@ import sys, os # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('../')) +import PIL # -- General configuration ----------------------------------------------------- @@ -50,9 +51,9 @@ copyright = u'1997-2011 by Secret Labs AB, 1995-2011 by Fredrik Lundh, 2010-2013 # built documents. # # The short X.Y version. -version = '2.2.0' +version = PIL.PILLOW_VERSION # The full version, including alpha/beta/rc tags. -release = '2.2.0' +release = version # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.