problems with py2exe


I have some problems compiling an .exe-file for my application. I use
wxPython together with matplotlib and tried to make an .exe-file with both
packages for the first time.

Windows XP
Python 2.4
matplotlib 0.74

I checked the FAQ at the matplotlib homepage and the py2exe-examples and
did the following:

from distutils.core import setup
import glob
import py2exe

data = glob.glob(r'C:\Python24\Lib\site-packages\matplotlib\*')

    console = [""],
    data_files = [("matplotlibdata", data)],

After py2exe is finished I find both folders 'dist' and 'build' as ususal,
however I can't finde an .exe-file of my application in the
I assume that 'window' is what I want to use in the code above, but when I
do that I get the following error:

--(just a small part of the console output)--
error: can't copy 'C:\Python24\Lib\site-packages\matplotlib\backends':
doesn't exist or not a regular file

What am I doing wrong? Help is really appreciated!