bh: thuban/libraries/thuban wxproj.cpp,1.7,1.8

Bernhard Herzog bh at intevation.de
Wed Apr 13 19:34:29 CEST 2005


Bernhard Reiter <bernhard at intevation.de> writes:

> Am 11. Apr 2005 um 21:54:04 schrieb Russell Nelson:
>> Jonathan Coles writes:
>>  >    python setup.py  build_ext --use-wx-python-swig-hack  build
>> 
>> That works great, but why doesn't setup.py do that automagically?
>> Watching setup.py exit with an error certainly gives me the idea that
>> it has a bug.
>
> Because this indicated a bug in the wxpython packages on your
> platform and you should file a bug against them.

In the case of wxPython 2.4 it's not only a packaging bug, though.  When
you build wxPython 2.4 from sources wxPython.h is not installed
automatically.  It still is the preferred way to access the objects at
the C++ level.

When I added the --use-wx-python-swig-hack flag I considered whether
setup.py should set it automatically when using wxPython 2.4.  It would
have taken even more time to implement and I had already spent more time
on than I wanted to, and it might make setup.py a bit too smart.  OTOH,
as it stands Thuban is a bit harder to build with wxPython 2.4.  We
should perhaps consider making setup.py smarter in this regard for the
1.1 release.


   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                           http://skencil.org/
Thuban                                  http://thuban.intevation.org/




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)