summaryrefslogtreecommitdiffstats
path: root/pygobject_postinstall.py
Commit message (Collapse)AuthorAgeFilesLines
* Catch ImportError exception when codegen is not available: disableCedric Gustin2006-09-211-26/+63
| | | | | | | | | | | | | | | | | | 2006-09-21 Cedric Gustin <cedric.gustin@gmail.com> * dsextras.py: Catch ImportError exception when codegen is not available: disable Template and TemplateExtension, redirect the user to the pygtk installer and raise a NameError exception. check_date has also been rewritten and now uses distutils.dep_util.newer_group(). defs files can also be built using createdefs by passing tuples as keyword argument to Template (see for example the gdk and gtk templates in setup.py). * setup.py: Changed the way the VERSION macro is defined on win32. Also install the html reference documentation, the xsl files and fixxref. * pygobject_postinstall.py: Set the value of DATADIR in fixxref.py. Add functions to install shortcuts in the Start menu to the reference manual (currently disabled: see bug #353849).
* Set datarootdir in .pc file.Cedric Gustin2006-06-281-5/+1
| | | | | | | | | | | | | | 2006-06-28 Cedric Gustin <cedric.gustin@gmail.com> * dsextras.py (InstallData): Set datarootdir in .pc file. * pygobject_postinstall.py (replace_prefix): Do not parse pygtk-codegen-2.0 as it is part of pygtk. * setup.py: Create gobject extension as gobject._gobject. Add pygoptioncontext.c and pygoptiongroup.c to the list of source files. Add option.py to the module files. Changed name of distutils package from pygtk to pygobject.
* Add distutils supportJohan Dahlin2006-01-091-0/+30
* setup.py: Add distutils support * dsextras.py (get_m4_define): Check for configure.ac aswell.