Prashant,

I couldnt execute your program using main.py as there were import
errors.
i created shaderbox.py by copying main.py and adding each import every
time i ran it and got a missing import exception.

Why is this happening?
The thing is Pyinstaller doesnt compile in the sense that a regular
compiler (such as gcc) compiles
a better description is a smart packager! To package your executable
together it scans through your code to detect imports.
I'm not sure exactly how this scanning works (haven't read the code
that far yet) but i've found out that the method it currently uses
doesn't catch imports in pyd's which results in pyinstaller not
including modules required by the pyd.

Sadly the only way i know to solve this problem is to keep running it
and including the missing imports.

I seriously  doubt if compiling the pyd modules with VS2003 will solve
the problem as i've sucessfully created exes with
pyinstaller that include pyds compiled with VS2008 with no problems.

Regards,
Mayowa.

On Oct 8, 8:12 pm, King <[EMAIL PROTECTED]> wrote:
> Thanks Mayowa,
> I really appreciate your detail explanation. Unfortunately things are
> still in bad shape.
>
> Did you try executing my application using "main.py"? Did you get any
> errors while sourcing "main.py" or app is working fine? I followed
> your scripts and managed to get .exe out but debugging is showing some
> errors of modules
> being missing. I really don't know why this is happening? My app is
> working fine with .pyd modules and no import errors when I am sourcing
> "main.py", when working with .exe, actually every other import call
> of .pyd is showing error of missing. Some on suggested me to use VC
> 2003 compiler to compile C extensions as it has been used to compile
> python 2.5. Is it true? I compiled my extensions using mingw32. I even
> posted this problem to cython mailing list but activity is low on
> cython mailing list and haven't got reply yet.
>
> Regards
>
> Prashant
--~--~---------~--~----~------------~-------~--~----~
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