[GRASS-dev] Re: requiring 126.96.36.199???
landa.martin at gmail.com
Sat Jul 26 15:42:56 EDT 2008
2008/7/26 Michael Barton <michael.barton at asu.edu>:
>>>>> import wxversion
>>>>> import wx
> This version check is failing with 188.8.131.52 on the Mac even if the correct
> version is installed. It may be failing with other version too.
> wx.__version__ looks for wxpython SOURCE (*.py) files that are not
> currently being included in the wxpython binary installer for some reason.
> The object files are correct and being installed (*.pyo).
> Why not just use wx.version()? It gives the correct response regardless of
> whether the source files are installed or not.
I changed CheckForWx() to use wx.version() instead of wx.__version__.
Hope it helps.
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
More information about the grass-dev