From 4c76da9ad7e19954487e0bed51c367d5fc963be8 Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Thu, 11 Jun 2015 22:52:15 -0700 Subject: Fix reading version in docs/conf.py --- docs/conf.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index ea223c2..2979560 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -56,11 +56,10 @@ copyright = u'2015, David Arthur' # built documents. # # The short X.Y version. -with open('../VERSION') as version_file: - version = version_file.read() +exec(open('../kafka/version.py').read()) # The full version, including alpha/beta/rc tags. -release = version +release = __version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. -- cgit v1.2.1