I've got difficulties to make a local installation of matplotlib.
I think it's due to my nonstandard installation of python and tk, which both are in my home.

I've seen on the website that , for non standard installation, I should complete the basedir dictionary defined in the setupext.py script.

But for the Tcl/Tk header files, this does not seems to work. Whatever I put in this dictionary, the module.include_dirs corresponding to Tk (line 825 of setupext.py) is always  equal to  ['/usr/share/include', '/usr/share/include'].

Did I miss something obvious ?

I'm on a linux2 platform and I''m trying make a local installation of python2.5 + matplotlib 0.91.2 in my home.