]> git.michaelhowe.org Git - packages/p/paho-mqtt.git/commitdiff
Record version number in code.
authorRoger Light <roger@atchoo.org>
Sat, 7 Dec 2013 23:23:31 +0000 (23:23 +0000)
committerRoger Light <roger@atchoo.org>
Mon, 3 Feb 2014 21:20:22 +0000 (21:20 +0000)
src/paho/mqtt/client.py

index fae5f40edf61ddb8a6ec56c010171c667e43fabc..8dba5dcdaaf3efac3ad86a86867db3ed588eb39a 100755 (executable)
@@ -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: