X-Git-Url: https://code.grnet.gr/git/kamaki/blobdiff_plain/9524ba6753e1cd4578098b99f8af59c9394b9879..76e9db552577325c9fa26a7c695eeb598be1019b:/docs/conf.py?ds=sidebyside diff --git a/docs/conf.py b/docs/conf.py index 3d598f4..8aa6b79 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,11 +20,11 @@ from sys import path, stderr import os try: - from objpool import http - http + from objpool.http import PooledHTTPConnection + PooledHTTPConnection except ImportError: stderr.write("`objpool` package is required to build kamaki docs.\n") - #exit() + # raise path.insert(0, os.path.join(os.path.abspath(os.path.dirname(__file__)), '..')) @@ -51,16 +51,20 @@ master_doc = 'index' # General information about the project. project = u'Kamaki' -copyright = u'2012, GRNET' +copyright = u'2013, GRNET' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = '0.6' +version = '0.8' # The full version, including alpha/beta/rc tags. -release = '0.6.3' +try: + import kamaki + release = kamaki.__version__ +except ImportError: + release = version # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.