From 02ce4711a5c64c57ccedc8c513c343381729bfbb Mon Sep 17 00:00:00 2001 From: Konsta Vesterinen Date: Wed, 3 Jul 2013 11:26:13 +0300 Subject: [PATCH] Added __version__ --- docs/conf.py | 5 +++-- sqlalchemy_utils/__init__.py | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 0de5732..734ee21 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,6 +17,7 @@ import sys, os # 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('..')) +from sqlalchemy_utils import __version__ # -- General configuration ----------------------------------------------------- @@ -48,9 +49,9 @@ copyright = u'2013, Konsta Vesterinen' # built documents. # # The short X.Y version. -version = '0.1' +version = __version__ # The full version, including alpha/beta/rc tags. -release = '0.1' +release = version # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/sqlalchemy_utils/__init__.py b/sqlalchemy_utils/__init__.py index 065e730..e147ec9 100644 --- a/sqlalchemy_utils/__init__.py +++ b/sqlalchemy_utils/__init__.py @@ -20,6 +20,9 @@ from .types import ( ) +__version__ = '0.14.3' + + __all__ = ( coercion_listener, sort_query,