matplotlib SVN trunk and wxPython 2.8.1.1

Applying the following patch current matplotlib SVN compiles against
wxPython 2.8.1.1. The resulting module seems to work.

Kind regads
Berthold

svn diff setup.py
Index: setup.py

···

===================================================================
--- setup.py (Revision 3084)
+++ setup.py (Arbeitskopie)
@@ -261,7 +261,7 @@
             print 'WXAgg\'s accelerator requires wxPython'
         BUILD_WXAGG = 0
     else:
- if getattr(wx, '__version__', '0.0')[0:3] < '2.8':
+ if getattr(wx, '__version__', '0.0')[0:3] <= '2.8':
             BUILD_AGG = 1
             build_wxagg(ext_modules, packages, NUMERIX,
                 not (isinstance(BUILD_WXAGG, str) # don't abort if BUILD_WXAGG

--

That test is present in setupext.pu because I don't intend to support the C++ WXAgg accelerator module with wxPython 2.8 and later.

Ken

···

On Mar 16, 2007, at 4:24 PM, Berthold Höllmann wrote:

Applying the following patch current matplotlib SVN compiles against
wxPython 2.8.1.1. The resulting module seems to work.