Installing matplotlib on cygwin

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

Traceback (most recent call last):

File "setup.py", line 164, in ?

    build_transforms(ext_modules, packages, NUMERIX)

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

in build_transforms

    add_base_flags(module)

File "/usr/libpython2.4/site-packages/matplotlib-0.84/setupext.py", 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.