If you use the 'file' command on your python interpreter, qt
libraries, and PyQt libraries, you might find out if something isn't a
Universal Binary:

file `which python2.4`
file 
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/PyQt4/QtGui.so
etc.

There should be something about both i386 and PPC bundles.

Adam


On 5/23/07, Jason Hihn <[EMAIL PROTECTED]> wrote:
If you can keep your application as one stub .py file, and the rest in a
.pyc, you can accomplish the same thing. The pyc is byte code and platform
independent. Also, I recommend putting them in a zip file as t hey are
highly compressible, and you can in your stub, modify the import search path
to include the zip file.

Of course, you then need to universal binary for your interpreter. So I
don't know if that helps you, or makes it worse. I've only dealt with
win/Linux PPC compatibility.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anita Diliberto
Sent: Wednesday, May 23, 2007 3:20 PM
To: 'Doyon, Jean-Francois'; Anita Diliberto; [email protected]
Subject: RE: [PyQt] MAC Intel and PowerPC

I have tried to create a universal binary, but that hasn't seemed to work
when I bring over the .app file to the power pc.

-----Original Message-----
From: Doyon, Jean-Francois [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 23, 2007 3:17 PM
To: Anita Diliberto; [email protected]
Subject: RE: [PyQt] MAC Intel and PowerPC


You would need to build a universal binary, or build for the Power PC
and use Rosetta.

I was curious, so I looked for Python-specific solutions.  Looks like
this should help you:

http://wiki.python.org/moin/MacPython/UniversalLibrariesAndExtensions

J.F.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anita
Diliberto
Sent: May 23, 2007 14:43
To: '[email protected]'
Subject: [PyQt] MAC Intel and PowerPC

I have a created a PyQt application using Qt4.1.1 and PyQt4 and
Python2.4 on a MAC Intel.  I am using py2app to create an executable.  I
can run the executable on the Mac Intel, but I can't seem to run it on
the MAC PowerPC.
Any suggestions on how I would do this?

Thanks

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to