Hi,

I am trying to package a PyQt program using PyInstaller 1.5.1 on OSX
10.6.8.

Initially it did not run because of an architecture mismatch and,
according to the 'file' command, the main executable that it generates
is x86_64. All of Qt, PyQt and my extension modules have been built as
32 bit.

As far as I can tell this version (1.5.1) of PyInstaller is not
supposed to support 64 bit on OSX.

I fixed it temporarily by adding the following to source/wscript in
the relevant places.

    if myplatform.startswith('darwin'):
        conf.env.append_value('CCFLAGS', '-m32')
        conf.env.append_value('LINKFLAGS', '-arch')
        conf.env.append_value('LINKFLAGS', 'i386')

Is this the correct fix?

Glenn

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