From: Roger Light Date: Sat, 7 Dec 2013 23:23:31 +0000 (+0000) Subject: Record version number in code. X-Git-Tag: v0.9~45 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=2f2c399ad92b9dfb5015a00120fd8e7139d1a933;p=packages%2Fp%2Fpaho-mqtt.git Record version number in code. --- 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: