Fix version number on docs

This commit is contained in:
Steve Johnson 2013-10-06 20:48:18 -07:00
parent 5d1ae90286
commit 1fa890f356

View File

@ -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.