Permalink
Browse files

Setup pycassa version in pycassa/__init__.py

  • Loading branch information...
1 parent 2419fc0 commit 0fc5b601dc287001c8705f56c6cc5b47c426d9d5 @thobbs thobbs committed Sep 25, 2011
Showing with 6 additions and 4 deletions.
  1. +2 −2 doc/conf.py
  2. +2 −0 pycassa/__init__.py
  3. +2 −2 setup.py
View
@@ -33,9 +33,9 @@
# built documents.
#
# The short X.Y version.
-version = '1.2'
+version = '.'.join(map(str, pycassa.version))
# The full version, including alpha/beta/rc tags.
-release = '1.2.0'
+release = version
# List of documents that shouldn't be included in the build.
unused_docs = []
View
@@ -11,3 +11,5 @@
TimedOutException
from pycassa.logging.pycassa_logger import *
+
+version = (1, 2, 0)
View
@@ -24,8 +24,8 @@
from distutils.cmd import Command
-__version_info__ = (1, 2, 0)
-__version__ = '.'.join([str(v) for v in __version_info__])
+import pycassa
+__version__ = '.'.join(map(str, pycassa.version))
long_description = """pycassa is a python client library for Apache Cassandra with the following features:

0 comments on commit 0fc5b60

Please sign in to comment.