From: <oli...@ma...> - 2005-04-07 09:28:10
|
Hi, 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 wxPython 2.5.3.1 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\*') data.append(r'C:\Python24\Lib\site-packages\matplotlib\.matplotlibrc') setup( console = ["PanelCheck.py"], 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 PanelCheck.py in the dist-folder. 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! Oliver |