diff options
author | Ryan Petrello <lists@ryanpetrello.com> | 2013-07-22 11:37:03 -0400 |
---|---|---|
committer | Ryan Petrello <lists@ryanpetrello.com> | 2013-07-22 11:37:03 -0400 |
commit | 8e1ea099d5e64a4df8a11a3e73289368e098beeb (patch) | |
tree | fdaa53f7da6b658afd928d9fcd7f48f4ab8e7a3d /docs/source/conf.py | |
parent | 5f6f75a76f603397c0e2374bfefeb4f58526ecff (diff) | |
parent | b634bfb4736e4387ff12f8c3f8ca43d483aa4aa4 (diff) | |
download | pecan-0.3.1.tar.gz |
Merge branch 'next'0.3.1
Diffstat (limited to 'docs/source/conf.py')
-rw-r--r-- | docs/source/conf.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index e2bdefb..4b89f31 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -11,6 +11,8 @@ # All configuration values have a default; values that are commented out # serve to show the default. +import pkg_resources + import sys import os @@ -49,9 +51,10 @@ copyright = u'2010, Jonathan LaCour' # built documents. # # The short X.Y version. -version = '0.3.0' +dist = pkg_resources.get_distribution('pecan') +version = release = dist.version # The full version, including alpha/beta/rc tags. -release = '0.3.0' +#release = '0.3.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. |