Re: [PyInstaller] Creating EXE on Mac OSX 10.5
Am 13.11.2011 11:54, schrieb Martin Zibricky: PyInstaller does not support cross-compilation. However. it should be possible to install Wine and there install windows version of python and create windows EXE using that. This is what I'm doing and it works like a charm. You may want to search the mailinglist archive for some helper script I've posted. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult ist Mitglied bei http://www.7-it.de -- You received this message because you are subscribed to the Google Groups PyInstaller group. To post to this group, send email to pyinstaller@googlegroups.com. To unsubscribe from this group, send email to pyinstaller+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
Re: [PyInstaller] _MEIPASS points to a non existing path
On Sun, Nov 13, 2011 at 5:10 AM, stas zytkiewicz stas.zytkiew...@gmail.com wrote: I can't imagine windows can hide the file when using totalcommander. But thank you for your efforts. Hmm it seems that my idea that I can see everyting in windows 7 was incorrect. Win 7 indeed hides multiple directories, one is AppData :-/ Well, now that I can actually see the directory pyinstaller is using I can go further with my quest to get a working exe. On Nov 12, 2011 11:30 PM, Hartmut Goebel h.goe...@goebel-consult.de wrote: Am 12.11.2011 19:08, schrieb stas zytkiewicz: I've tried but I must confess that I don't really understand how ArchiveViewer works. RTFM, section PyInstaller Utilities. But I can't understand why I can't find the directory _MEIPASS is pointing to. The path doesn't exists, if it really exixts I should be able to see it using totalcommander or some other file browser ? Or am I mistaken ? Yes, the directory should be there. But it will be removed at the moment you application finishes. Perhaps Windows hides the directory? I don't know, there is much magic in Windows. OK. sys._meipass C:/Users/Emin/AppData/Local/Temp/_MEI57242/ os.listdir ['bz2.pyd', 'LIBEAY32.dll', 'Microsoft.VC90.CRT.manifest', [...] So the directory is there and there are files in it. But for me it looks as if any images are missing. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult ist Mitglied bei http://www.7-it.de -- You received this message because you are subscribed to the Google Groups PyInstaller group. To post to this group, send email to pyinstaller@googlegroups.com. To unsubscribe from this group, send email to pyinstaller+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en. -- Free-source educational programs for schools http://www.schoolsplay.org and http://wiki.laptop.org/go/Schoolsplay http://gvr.sf.net and http://wiki.laptop.org/go/Guido_van_Robot -- You received this message because you are subscribed to the Google Groups PyInstaller group. To post to this group, send email to pyinstaller@googlegroups.com. To unsubscribe from this group, send email to pyinstaller+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
Re: [PyInstaller] pyenchant/Mac OS the adventure continues
I'm sorry, I just find the pyinstaller hooks mechanism completely opaque. I can just about understand the TOC format and how it feeds into the analyze and collect phases, but how and where the hooks fit in, and what their syntax is supposed to be -- I just don't get it. I'm going to explore other ways of providing spellcheck to my app than enchant, which is clearly not a good way to go. Not only because pyinstaller can't handle it, but also because it is using myspell instead of hunspell, and other issues. Thanks for your time. Dave Cortesi On Fri, Nov 11, 2011 at 7:11 AM, Martin Zibricky mzibri...@gmail.comwrote: David Cortesi píše v Pá 11. 11. 2011 v 05:42 -0800: I am travelling next 48 hours, will try to sort on the weekend. thanks To implement the hook you need to: - find properly enchant plugins (e.g. libenchant_aspell.so, libenchant_ispell.so, libenchant_myspell.so). On my system they are located in /opt/local/lib/enchant (it's default location from macports). - you should put these plugins in directory YOUR_APP_DIST_DIR/lib/enchant - then you need to force pyinstaller check to check these plugins for dynamic depenencies on other .so or .dylib files. You could do this in a similar way as it is done for qt_plugins. (e.g. PYINSTALLER_TRUNK/PyInstaller/hooks/hook-PyQt4.QtGui.py) - to test that it works there is a test case in pyinstaller: PYINSTALLER_TRUNK/buildtests/libraries/test_enchant.py - to run it use command PYINSTALLER_TRUNK/buildtests/runtests.py libraries/test_enchant - then you need some additional code co collect dictionaries Hope this helps. -- You received this message because you are subscribed to the Google Groups PyInstaller group. To post to this group, send email to pyinstaller@googlegroups.com. To unsubscribe from this group, send email to pyinstaller+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en. -- You received this message because you are subscribed to the Google Groups PyInstaller group. To post to this group, send email to pyinstaller@googlegroups.com. To unsubscribe from this group, send email to pyinstaller+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.