Hi Jussi, Il giorno Mon, 19 Jul 2010 07:47:36 -0700 (PDT) jrasinma <[email protected]> ha scritto:
> Hi, > > I have an application written on top of Enthought Tool Suite (Traits, > TraitsGUI, Chaco, wx etc.). Roughly a year a go a colleague of mine > was able to get it packaged for Windows and Linux with pyinstaller > with some considerable effort to get all the ETS modules imported > nicely. Yes, in my experience packging an ETS app with pyinstaller is but an easy task. I'm pretty sure it can't be done with a "stock Makespec and Build commands". One of the problems is that ETS heavily uses pkg_resources, that is not currently supported by pyinstaller, an has a lot o hidden imports. > I now tried to create an OS X app with pyinstaller, and just ran the > stock Makespec and Build commands. Things have seemingly progressed > very nicely for pyinstaller, since I get no import errors: [...] > BUT the script exits without actuallly opening the UI. I'm running The graphical toolkit is imported only when actually needed and this import is quite hard to detect for pyinstaller. > this using the 32 bit Enthought Python Distribution from a virtualenv > in which I renamed pythonw to python since pythonw is needed to open > the GUI for the ETS app. > python yasso.py does work ok using the virtualenv for the app. > > Any ideas whats going wrong or how could I get more debug information? > > Cheers, > Jussi Well, it would be interesting to take a look to the scripts your colleague used for windows and linux :). Some related thread: https://mail.enthought.com/pipermail/enthought-dev/2009-September/024263.html http://groups.google.it/group/pyinstaller/browse_thread/thread/301fcaddbbb7f13f best regards -- Antonio Valentino -- 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.
