summaryrefslogtreecommitdiff
path: root/docs/source/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/conf.py')
-rw-r--r--docs/source/conf.py7
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.