Skip to content
Browse files

Merge pull request #2 from lukecampbell/master

Adds __version__ to dashi module (PEP396)
  • Loading branch information...
2 parents 9898437 + 7a09f2f commit 3b5669e58609c0625b6a24cce73252b26bbf316c @labisso labisso committed Feb 4, 2013
Showing with 4 additions and 1 deletion.
  1. +2 −0 dashi/__init__.py
  2. +2 −1 setup.py
View
2 dashi/__init__.py
@@ -15,6 +15,8 @@
from exceptions import DashiError, BadRequestError, NotFoundError, UnknownOperationError, WriteConflictError
+__version__ = '0.2.7'
+
log = logging.getLogger(__name__)
DEFAULT_HEARTBEAT = None # Disabled for now
View
3 setup.py
@@ -2,8 +2,9 @@
import os
import codecs
+from dashi import __version__
-VERSION = "0.2.7"
+VERSION = __version__
if os.path.exists("README.rst"):
long_description = codecs.open('README.rst', "r", "utf-8").read()

0 comments on commit 3b5669e

Please sign in to comment.
Something went wrong with that request. Please try again.