| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
2006-10-05 Cedric Gustin <cedric.gustin@gmail.com>
* dsextras.py (Template) (TemplateExtension): Add
py_ssize_t_clean flag to be passed to codegen.SourceWriter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
2006-04-18 John Ehresman <jpe@wingware.com>
* dsextras.py: Add compiler / linker flags from pkgconfig-2.0.pc
by default, with an override mechanism. Filter out -lc & -lm if
compiling with msvc.
* setup.py: Change C extension name to _gobject and don't use the
pkgconfig-2.0.pc when compiling
|
| |
|
|
|
|
|
|
| |
* setup.py: Add distutils support
* dsextras.py (get_m4_define): Check for configure.ac aswell.
|
|
|
|
|
|
|
|
|
| |
2006-01-04 Cedric Gustin <cedric.gustin@gmail.com>
* dsextras.py (Template.generate): Pass GLOBAL_MACROS (in
particular HAVE_PYCAIRO) to codegen DefsParser.
* setup.py: If pangocairo is enabled, add pycairo to the list of
packages required to build the GTK+ module. Also set HAVE_PYCAIRO.
|
|
|
|
| |
gobjectmodule.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes #150616
* dsextras.py: Added InstallData class. Changed template options
to ${prefix}/include|lib|bin|share. Added get_m4_define function
to parse pygtk version strings in configure.in.
* setup.py: Added pygtk_postinstall bdist_wininst
option. distutils now uses InstallData as install_data
class. pygtk-2.0.pc and pygtk-codegen-2.0 are installed as data
instead of lib/extensions. This fixes a bdist_wininst installer on
win32.
* pygtk_postinstall.py: Initial release.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-03 Naofumi Yasufuku <naofumi@yasufuku.net>
Bug #110619:
* dsextras.py (InstallLib.prepare): Fixed self.prefix
initialization for win32.
(BuildExt.init_extra_compile_args, BuildExt.build_extensions)
(BuildExt.build_extension): On win32, add MinGW GCC option for
MSVC compatible struct packing (gcc2: -fnative-struct, gcc3:
-mms-bitfields).
(BuildExt.modify_compiler, BuildExt.build_extensions): On win32,
remove '-static' linker option to prevent MinGW ld from trying to
link with MSVC import libraries.
* setup.py: Changed list_files('codegen/*.py') to
list_files(os.path.join('codegen', '*.py')) for win32.
Fixed pygtk.h installation directory.
2003-07-02 James Henstridge <james@daa.com.au>
* dsextras.py (pkgc_version_check): remove "self.", fixing bug
111002 (pointed out by Seth Nickell).
|
|
|
|
|
|
| |
2003-04-29 Johan Dahlin <jdahlin@async.com.br>
* gtk/Makefile.am (pygtk_PYTHON): Install dsextras.
|
|
|
|
|
|
| |
* dsextras.py (getstatusoutput): Small typo.
* setup.py: Cut the doclines, to make the windows installer happy
|
|
|
|
|
| |
* setup.py, dsextras.py: Added win32 support and some
rearrangements. Largely based upon patch by Cedric Gustin.
|
|
|
|
|
|
|
|
| |
* pygtk-2.0.pc.in (codegendir): Added.
* setup.py: Added Numeric and gtkgl support (gtkgl untested).
* dsextras.py: Updated.
|
|
|
|
| |
* dsextras.py (InstallLib.add_template_option): Fix template bustage.
|
|
|
|
|
|
|
| |
* dsextras.py (Template.generate): Import codegen here instead,
needs to be fixed in the future though.
* Makefile.am (EXTRA_DIST): Added dsextras.py
|
|
* dsextras.py: Splitted out from setup.py. It should be reusable
for gnome-python and other extensions that uses pygtk.
Fixes #103615
|