Hiya King,
The most likely culprit is missing imports. I'd suggest 2 things

1. Create a debug build (to do that , change debug=False to debug=True
in your spec file)
2. review the warning file created during the build process for
missing imports; keep an eye out for missing imports from your own
modules

HTH


King wrote:
> Hi,
>
> I tried PyInstaller first time and not able to get things done. My
> application is wxPython based and I am using both .pyc and .pyd
> modules. To make it more clearer, this is my app directiory structure:
>
> /core (.pyc & .pyd files)
> /code/ui (.pyc & .pyd files)
> /doc (.pdf file)
> /node (.xml and .bmp across several sub directories)
> /texture (.jpg files)
> /data (some .dat files for configration)
> app.pyd (main application and UI file)
> main.py
>
> main.py has a single call "import app" and nothing else.
>
> Here is my .spec file:
>
> a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'),
> os.path.join(HOMEPATH,'support\\useUnicode.py'), 'H:\\app\\main.py'],
>              pathex=['C:\\Python25\\pyinstaller13'])
> pyz = PYZ(a.pure)
> exe = EXE(pyz,
>           a.scripts,
>           exclude_binaries=1,
>           name='buildmain/main.exe',
>           debug=False,
>           strip=False,
>           upx=True,
>           console=False )
> coll = COLLECT( exe,
>                a.binaries,
>                strip=False,
>                upx=True,
>                name='distmain')
>
> In "distmain" directory I am getting an main.exe, .dlls, .pyds and
> *SOME* of my .pyds with core.<name> and core.ui.<name>.
>
> 1. .exe is not working
> 2. Where are my .pyc and rest of .pyd files?
> 3. Where are .pyc of python? (py2exe make library.zip for these files)
> 4. Where are .pyc of wxPython? (py2exe make library.zip for these
> files)
> 5. Am I missing something in .spec file or is it not configured
> properly?
>
> I hope some one point me out the corrections.
>
> Thanks
>
>
> 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