On Wed, Jun 18, 2008 at 5:22 AM, arrowtackett <[EMAIL PROTECTED]> wrote: > Someone over at the wxPython mailing list directed me to their spec > file, but I can't seem to get that to work either. Here is the link > to it: > > http://code.google.com/p/devide/source/browse/trunk/devide/installer/devide.spec
I'm that someone. :) I sent two links in my mail, the other was also crucial to make this work: http://code.google.com/p/devide/source/browse/trunk/devide/module_kits/matplotlib_kit/__init__.py - the important part was this: if hasattr(sys, 'frozen') and sys.frozen: # matplotlib supports py2exe by checking for matplotlibdata in the appdir # but this is only done on windows (and therefore works for our windows # installer builds). On non-windows, we have to stick it in the env # to make sure that MPL finds its datadir (only if we're frozen) mpldir = os.path.join(theModuleManager.get_appdir(), 'matplotlibdata') os.environ['MATPLOTLIBDATA'] = mpldir (it's even nicely commented!) In your application, you need to set an environment variable so that matplotlib can find its datafile. Good luck, Charl --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/PyInstaller?hl=en -~----------~----~----~----~------~----~------~--~---
