CQL version file instead of manually updating
This commit is contained in:
1
cqlengine/VERSION
Normal file
1
cqlengine/VERSION
Normal file
@@ -0,0 +1 @@
|
||||
0.4.8
|
||||
@@ -3,5 +3,7 @@ from cqlengine.functions import *
|
||||
from cqlengine.models import Model
|
||||
from cqlengine.query import BatchQuery
|
||||
|
||||
__version__ = '0.4.7'
|
||||
__cqlengine_version_path__ = os.path.realpath(__file__ + '/../VERSION')
|
||||
__version__ = open(__cqlengine_version_path__, 'r').readline().strip()
|
||||
|
||||
|
||||
|
||||
@@ -47,10 +47,13 @@ copyright = u'2012, Blake Eggleston'
|
||||
# |version| and |release|, also used in various other places throughout the
|
||||
# built documents.
|
||||
#
|
||||
__cqlengine_version_path__ = os.path.realpath(__file__ + '/../VERSION')
|
||||
# The short X.Y version.
|
||||
version = '0.4.7'
|
||||
version = open(__cqlengine_version_path__, 'r').readline().strip()
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '0.4.7'
|
||||
release = version
|
||||
|
||||
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
||||
Reference in New Issue
Block a user