On 17/04/2007 21.14, pythonista wrote:

> I've added PyEnchant-1.3.0 to my program and cannot get PyInstaller
> 1.3 to package it.  PyEnchant stores its dictionaries in C:
> \Python24\Lib\site-packages\enchant\share\enchant\myspell\.  The files
> in here are plain text files: en_US.dic, en_US.aff, etc.
> 
> If I add them to Analysis, compile() barfs in analyze_script(), while
> if I add them as DATA or BINARY to COLLECT(), they end up in C:
> \program files\MyProgram where MyEnchant cannot find them. EXTENSION,
> PYSOURCE or PYMODULE don't seem suitable either.  Is this possible, or
> do I need to move to plan B - getting PyEnchant to look elsewhere for
> its data?

I'm not sure what you are trying to achieve. Do you want to embed the data 
files within the single-file executable, or just put them next to 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