Installing matplotlib on cygwin

When I do the “python build” on cygwin I get the following error:

Traceback (most recent call last):

File "", line 164, in ?

    build_transforms(ext_modules, packages, NUMERIX)

File "/usr/libpython2.4/site-packages/matplotlib-0.84/", line 655,

in build_transforms


File "/usr/libpython2.4/site-packages/matplotlib-0.84/", line 100,

in add_base_flage

    incdirs = [os.path.join(p, 'include') for p in basedir[sys, platform]

KeyError: ‘cygwin’

How do I fix this? I installed numarray and I changed the NUMERIX value in the matplotlibrc file from Numeric to numarray but I still have the same problem.