Get python info in runtime

master
Yevgen Muntyan 2006-05-10 16:33:14 -05:00
parent f8bf4615d6
commit a81352df0e
1 changed files with 11 additions and 8 deletions

View File

@ -177,14 +177,17 @@ show_system_info (void)
GTK_MINOR_VERSION,
GTK_MICRO_VERSION);
#ifdef MOO_USE_PYGTK
if (moo_python_running ())
{
g_string_append (text, "Python support: yes\n");
string = get_python_info ();
g_string_append_printf (text, "Python: %s\n", string ? string : "None");
g_free (string);
#else
}
else
{
g_string_append (text, "Python support: no\n");
#endif
}
#ifdef MOO_USE_XML
g_string_append_printf (text, "libxml2: %s\n", LIBXML_DOTTED_VERSION);