Martin Zibricky wrote, On 3/1/2011 12:48 PM:
Dan Hensley píše v Út 01. 03. 2011 v 12:46 -0700:
Yes, that's much simpler.  Unfortunately I get the following error:

    File
"U:\dhensley\Projects\SRA\SRA\build_PyQt\pyinstaller-trunk\hooks
\hook-pythoncom.py",
line 36, in hook
      import mf
ImportError: No module named mf

Thanks,
Dan
Well, we should check the imports of hook files.

Could you try to change 'import mf' to 'import PyInstaller.mf'?

I changed the lines to

        import PyInstaller.mf
        mod = PyInstaller.mf.ExtensionModule(newname, pth)

and I got a bit further:

File "U:\dhensley\Projects\SRA\SRA\build_PyQt\pyinstaller-trunk\hooks\hookutils.py", line 42, in qt4_plugins_dir qt4_plugin_dirs = eval(exec_statement("from PyQt4.QtCore import QCoreApplication; app=QCoreApplication([]); print map(unicode,app.libraryPaths())"))
  File "<string>", line 0

    ^
SyntaxError: unexpected EOF while parsing


Thanks,
Dan




--
Dan Hensley, P.E.
Manager, Rocky Mountain Operations - ATA Engineering, Inc.
1687 Cole Blvd, Suite 125
Golden, CO                   W:303/945-2360
http://www.ata-e.com/

--
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