From 2f2c399ad92b9dfb5015a00120fd8e7139d1a933 Mon Sep 17 00:00:00 2001 From: Roger Light Date: Sat, 7 Dec 2013 23:23:31 +0000 Subject: [PATCH] Record version number in code. --- src/paho/mqtt/client.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/paho/mqtt/client.py b/src/paho/mqtt/client.py index fae5f40..8dba5dc 100755 --- a/src/paho/mqtt/client.py +++ b/src/paho/mqtt/client.py @@ -45,6 +45,11 @@ if platform.system() == 'Windows': else: EAGAIN = errno.EAGAIN +VERSION_MAJOR=0 +VERSION_MINOR=4 +VERSION_REVISION=0 +VERSION_NUMBER=(VERSION_MAJOR*1000000+VERSION_MINOR*1000+VERSION_REVISION) + if sys.version_info[0] < 3: PROTOCOL_NAME = "MQIsdp" else: -- 2.39.5