On 4/18/2007 9:09 AM, mathieu wrote:

>   I did not understood the concept of PyInstaller. PyInstaller needs
> to have the proper environment set to be able to find all the
> dependencies correctly. I started integrated PyInstaller into CMake
> and the command never really returns an error upon failure, so I
> thought the command executed correctly. Anyway just for reference I
> had to set PYTHONPATH and LD_LIBRARY_PATH in my Makefile the same way
> I have them in my shell.

Yes. At *build* time, you need to execute PyInstaller in exactly the 
same environment you use for development (same Python version, but also 
same PYTHONPATH, etc.).

At *run* time, though, the generated file should not depend on any of 
those environment settings, thus making it able to work everywhere.
-- 
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