Code

include PACKAGE_VERSION as version number for python module to fix #236
[rrdtool-all.git] / program / bindings / python / rrdtoolmodule.c
index 2df98066f140af33fe63798cd4dea54019ebee0b..e2d0bbd5e5142ecce9aeec2b7a592d691eab419e 100644 (file)
@@ -37,7 +37,9 @@
 # define UNUSED(x) x
 #endif
 
-static const char *__version__ = "$Revision: 1.14 $";
+
+#include "../../rrd_config.h"
+static const char *__version__ = PACKAGE_VERSION;
 
 #include "Python.h"
 #include "../../src/rrd_tool.h"