Consolidate version number in one place

This commit is contained in:
Matt Wright
2012-03-27 18:49:01 -04:00
parent 5697f7c953
commit 744ded7f1b
3 changed files with 7 additions and 3 deletions
+3 -2
View File
@@ -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.
+2
View File
@@ -10,6 +10,8 @@
:license: MIT, see LICENSE for more details.
"""
__version__ = '1.2.1'
import sys
from datetime import datetime
+2 -1
View File
@@ -12,11 +12,12 @@ Links
<https://github.com/mattupstate/flask-security/raw/develop#egg=Flask-Security-dev>`_
"""
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',