On Sat, 2008-02-09 at 17:41 -0800, [EMAIL PROTECTED] wrote:

> I have a wav file that's played by my project that's packed using --
> onefile. Is there a way to pack the wav file with the onefile, so I
> can distribute just one file?

The usual two half-solutions:

* Add the file to the TOC of the PKG as BINARY. It will be extracted
into the temporary directory (whose path is os.environ["_MEIPASS2"]).

or:

* Add the file to the TOC of the PKG as DATA, then use the cArchive API
(import cArchive) to extract it.
-- 
Giovanni Bajo



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to