On Tue, 15 Sep 2009 10:50:38 -0500, William Kyngesburye
<wokl...@kyngchaos.com> wrote:
> On Sep 13, 2009, at 6:12 AM, Phil Thompson wrote:
> 
>> I've added a --use-arch option to PyQt's configure.py to tell it to  
>> use
>> arch in the pyuic4 wrapper script. If there is a problem with
>> /usr/bin/python then you should run configure.py using /usr/bin/ 
>> python2.6
> 
> Now that I got compilation working, a useful refinement to pyuic4  
> would be to add the python version number that pyqt was compiled with  
> to the pythonw command, like:
> 
> exec arch -i386 /usr/bin/pythonw2.6 .....
> 
> Some may want to build for a specific version (ie 2.5) of python, but  
> the default pythonw may be different (ie defaults to 2.6 on OSX 10.6).
> 
> This also works around the problem (until Apple decides to fix it)  
> that /usr/bin/pythonw doesn't respond to the arch command, yet /usr/ 
> bin/python2.6 (and -2.5) do.

I chose not to do that because it's taking control away from you. If you
want to use the versioned interpreter then use it to run configure.py. It
will (should) do the right thing when adding the "w".

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to