From 1fa890f3566f290c8b0febeae890783e2dc0efae Mon Sep 17 00:00:00 2001 From: Steve Johnson Date: Sun, 6 Oct 2013 20:48:18 -0700 Subject: [PATCH] Fix version number on docs --- docs/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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.