diff --git a/docs/conf.py b/docs/conf.py index c4b51f6..4714e0a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,6 +12,7 @@ # serve to show the default. import sys, os +from flask_security import __version__ # 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 @@ -49,9 +50,9 @@ copyright = u'2012, Matt Wright' # built documents. # # The short X.Y version. -version = '1.1' +version = __version__ # The full version, including alpha/beta/rc tags. -release = '1.1.0' +release = version # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/flask_security/__init__.py b/flask_security/__init__.py index 0ed3995..721652a 100644 --- a/flask_security/__init__.py +++ b/flask_security/__init__.py @@ -10,6 +10,8 @@ :license: MIT, see LICENSE for more details. """ +__version__ = '1.2.1' + import sys from datetime import datetime diff --git a/setup.py b/setup.py index 44276ed..f609903 100644 --- a/setup.py +++ b/setup.py @@ -12,11 +12,12 @@ Links `_ """ +from flask_security import __version__ from setuptools import setup setup( name='Flask-Security', - version='1.2.1-dev', + version=__version__, url='https://github.com/mattupstate/flask-security', license='MIT', author='Matthew Wright',