Steve Willis píše v Čt 21. 07. 2011 v 18:39 -0700:
> Apologies if this is a naive question, but I have tried a number of
> solutions I found elsewhere on this list without success.
This is not naive question and it should be documented in manual.
> I am using
> PyInstaller 1.5 to bundle a onefile Mac application. I need to include
> some static data files (image and html files, etc.) in the temporary
> directory referred to by os.environ['_MEIPASS2']. I have tried a
> COLLECT a number of ways, as well as appending directly to a.datas.
>
files in a.datas should be in the following format:
[ ('fileondisk', 'path_started_rom_meipass2'),
('another_file', 'path_started_rom_meipass2'),
]
If a.datas won't work, you can try to create your import hook.
For reference see in source:
./hooks/hook-PyQt4.QtGui.py
--
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.