[python-win32] nevermind, I found the solution:

Jose Quesada quesada at gmail.com
Tue Nov 25 17:04:06 CET 2008


http://boodebr.org/main/python/build-windows-extensions

Update: 2008-09-10

Recent versions of Cygwin binutils have version numbers that are breaking  
the version number parsing, resulting in errors like:
ValueError: invalid version number '2.18.50.20080625'


To fix this, edit distutils/version.py. At line 100, replace:
     version_re = re.compile(r'^(\d+) \. (\d+) (\. (\d+))? ([ab](\d+))?$',
                         re.VERBOSE)
with
     version_re = re.compile(r'^(\d+) \. (\d+) (\. (\d+))? (\. (\d+))?$',
                             re.VERBOSE)

Thanks!

-- 
Jose Quesada, PhD.
Max Planck Institute, Human Development, Berlin
http://www.andrew.cmu.edu/~jquesada


More information about the python-win32 mailing list