Bug in GMath_install.py
Status: Pre-Alpha
Brought to you by:
aurag
I'm running Debian with gtk 1.2.10, but GMath_install.py
thinks that "Error: Gtk Version less than 1.2.7".
The problem:
if (string.strip(os.popen("gtk-config
--version").read()) < '1.2.7'):
I don't think you compare in that way.
>>> '1.2.9' < '1.2.7'
0
>>> '1.2.10' < '1.2.7'
1
>>> '1.2.80' < '1.2.7'
0
But
>>> map(int, '1.2.10'.split('.')) < map(int,
'1.2.7'.split('.'))
0
works :)