Russell E. Owen wrote:
> I reinstalled wxPython 2.7 from the package at pythonmac.org (to be 
> paranoid). I'm using the Python 2.5 version.

check

> I got wx-config on my path and confirmed it's the right one (see below 
> for details).

check.

> Now when I try to build matplotlib it fails. Ouch.
> 
> It starts out with the same warning as last time:
> setup.py:267: DeprecationWarning: The wxPython compatibility package is 
> no longer automatically generated or activly maintained.  Please switch 
> to the wx package as soon as possible.
>   import wxPython

This one is easy!

In setup.py, replace:

import wxPython

with

import wx

A few versions ago, the "import wxPython" form was deprecated -- it is 
now gone in 2.7. IN this case, all it's doing it checking if wxPython is 
installed, so th import wx should be the only change needed.

A quick search revealed that the back-end itself has been switched over 
already.

-Chris

PS: you haven't been sending your notes to the list.

-- 
Christopher Barker, Ph.D.
Oceanographer
                                                
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to