summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index b8fd4a9..d719bf4 100644
--- a/setup.py
+++ b/setup.py
@@ -2,6 +2,8 @@ import sys
from setuptools import setup, Command
+with open('VERSION', 'r') as v:
+ __version__ = v.read().rstrip()
class Tox(Command):
@@ -20,7 +22,7 @@ class Tox(Command):
setup(
name="kafka-python",
- version="0.9.1",
+ version=__version__,
tests_require=["tox", "mock"],
cmdclass={"test": Tox},