[thuban-Bugs][550] --use-wx-python-swig-hack relies on SWIG internals, and should be made obsolete by lobbing to include wxPython.h in the distributions

thuban-bugs@wald.intevation.org thuban-bugs at wald.intevation.org
Sat Dec 1 01:09:38 CET 2007


Bugs item #550, was opened at 2007-12-01 01:09
Status: Open
Priority: 3
Submitted By: Bernhard Reiter (bernhard)
Assigned to: Nobody (None)
Summary: --use-wx-python-swig-hack relies on SWIG internals, and should be made obsolete by lobbing to include wxPython.h in the distributions 
Resolution: None
Version: None
Category: None


Initial Comment:
setup.py rev 2788 has:

   --use-wx-python-swig-hack

        For performance reasons, Thuban access wxPython objects at the
        C++ level so that it can directly call wxWidgets code from C++.
        The normal and preferred way to do that is to use the API
        defined in wxPython.h.  Unfortunately, this header file is not
        distributed with binary packages of wxPython on some platforms.
        By using the --use-wx-python-swig-hack option you can activate a
        way to access the C++ objects without wxPython.h.  This relies
        on internals of SWIG, so it might change with future wxPython
        versions.  Therefore, only use this option if the normal way
        doesn't work for you.


Debian today (20071201) still does not ship the packages,
there is a discussion at:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326440

Which also claims that Robin Dunn, the maintainer of wxPython 
did not want to fix it in the upstream package.

----------------------------------------------------------------------

You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=105&aid=550&group_id=6




More information about the Thuban-devel mailing list

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