From 0bad177cda15cf21ab5bb7f1ea9eaf736d0f1ba7 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Thu, 11 Jun 2009 15:34:14 +0200 Subject: Pick the version info from version.h --- src/xmlpythonizer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/xmlpythonizer.c') diff --git a/src/xmlpythonizer.c b/src/xmlpythonizer.c index 68c29c2..f6dfe15 100644 --- a/src/xmlpythonizer.c +++ b/src/xmlpythonizer.c @@ -83,6 +83,7 @@ #include "dmixml.h" #include "dmierror.h" #include "xmlpythonizer.h" +#include "version.h" /** @@ -1172,7 +1173,7 @@ PyMODINIT_FUNC initxmlpythonizer(void) { Py_InitModule3((char *)"xmlpythonizer", DemoMethods, "XML to Python Proof-of-Concept Python Module"); - PyObject *version = PyString_FromString("3.10.6"); + PyObject *version = PyString_FromString(VERSION); Py_INCREF(version); PyModule_AddObject(module, "version", version); } -- cgit