From dfe7226bb4cc25a48972822c587f56ebf1fb1e46 Mon Sep 17 00:00:00 2001
From: John Chilton <jmchilton@gmail.com>
Date: Sun, 12 Apr 2015 22:42:16 -0400
Subject: [PATCH] Dynamically set pulsar version from docs.

---
 docs/conf.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index bd11c644..a58e51a9 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -16,9 +16,9 @@ import sys, os
 # If extensions (or modules to document with autodoc) are in another directory,
 # 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(os.path.join('..', '..')))
 sys.path.insert(0, os.path.abspath('..'))
 
+import pulsar
 
 # -- General configuration -----------------------------------------------------
 
@@ -50,9 +50,9 @@ copyright = u'2014, Galaxy Project'
 # built documents.
 #
 # The short X.Y version.
-version = '0.2.0'
+version = pulsar.__version__
 # The full version, including alpha/beta/rc tags.
-release = '0.2.0'
+release = pulsar.__version__
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
-- 
GitLab