GNOME Bugzilla – Bug 385934
Module codegen.createdefs is not installed
Last modified: 2008-07-16 10:12:59 UTC
That bug has been described on https://launchpad.net/distros/ubuntu/+source/pygtk/+bug/75606 "/usr/share/python-support/python-gobject/gtk-2.0/dsextras.py tries to import codegen.createdefs which is missing. This leads to the following error message when one tries to use Template from dsextras: *************************************************************************** Codegen could not be found on your system and is required by the dsextras.Template and dsextras.TemplateExtension classes. codegen is part of PyGTK. To use either Template or TemplateExtension, you should also install PyGTK. *************************************************************************** createdefs.py is included in the pygtk orig.tar.gz in the codegen dir but doesn't get installed. ..."
Created attachment 78605 [details] [review] Proposed patch This patch moves createdefs.py to the list of files to be installed.
Johan told me on IRC to commit the patch if that's useful, dsextras is not supposed to be a public API and should be used though. I commited the patch since some programs use it: 2006-12-21 Sebastien Bacher <seb128@ubuntu.com> * codegen/Makefile.am: install createdefs.py, fix dsextras.py, patch by Michael Bienia (Fixes #385934)