[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] MAC Intel and PowerPC
From:       "Adam Tenderholt" <atenderholt () gmail ! com>
Date:       2007-05-23 22:42:12
Message-ID: 7781a1b50705231542o3512065et82966f750a3ee6c5 () mail ! gmail ! com
[Download RAW message or body]

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 <jason@eyemaginations.com> 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: pyqt-bounces@riverbankcomputing.com
> [mailto:pyqt-bounces@riverbankcomputing.com] On Behalf Of Anita Diliberto
> Sent: Wednesday, May 23, 2007 3:20 PM
> To: 'Doyon, Jean-Francois'; Anita Diliberto; pyqt@riverbankcomputing.com
> 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:jdoyon@NRCan.gc.ca]
> Sent: Wednesday, May 23, 2007 3:17 PM
> To: Anita Diliberto; pyqt@riverbankcomputing.com
> 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: pyqt-bounces@riverbankcomputing.com
> [mailto:pyqt-bounces@riverbankcomputing.com] On Behalf Of Anita
> Diliberto
> Sent: May 23, 2007 14:43
> To: 'pyqt@riverbankcomputing.com'
> 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    PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic