Hello,
I need help using pyinstaller on windows.
I followed the instructions but it doesn't works.
My application depends on pygtk. I was expecting gtk imports works out
of the box
(thanks to hook-gtk.py ) but running the executable it exits with
ImportError "No module named _gobject".

I checked all debug available but I didn't find any useful
information.

My spec files contains:
# -*- mode: python -*-
a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'),
os.path.join(HOMEPATH,'support\\useUnicode.py'), 'pysyncgui.pyw'],
             pathex=['c:\\python25\\Lib\\site-packages\\gtk-2.0\\', 'C:
\\Documents and Settings\\C100164\\Documenti\\prog\\sync'])
pyz = PYZ(a.pure)
exe = EXE(pyz,
          a.scripts,
          exclude_binaries=1,
          name=os.path.join('build\\pyi.win32\\pysyncgui',
'pysyncgui.exe'),
          debug=True,
          strip=False,
          upx=True,
          console=False )

coll = COLLECT( exe,
               a.binaries,
               a.zipfiles,
               a.datas,
               strip=False,
               upx=True,
               name=os.path.join('dist', 'pysyncgui'))


Using ArchiveViewer.py I get:
[(0, 411076, 411076, 0, 'z', 'outPYZ1.pyz'),
 (411076, 8322, 24142, 1, 'm', 'iu'),
 (419398, 1485, 3663, 1, 'm', 'struct'),
 (420883, 5984, 16530, 1, 'm', 'archive'),
 (426867, 1157, 2272, 1, 's', '_mountzlib'),
 (428024, 81, 76, 1, 's', 'useUnicode'),
 (428105, 191, 386, 1, 's', 'pysyncgui')]

Under windows pygtk are copied under C:\Python25\lib\site-packages
\gtk-2.0

Please help !
--~--~---------~--~----~------------~-------~--~----~
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