Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-06 Thread Ronald Oussoren
On 6 Oct, 2009, at 23:29, Kevin Walzer wrote: I tried again, using the macholib from svn trunk and specifying python-64 instead of python as the interpreter. Here's the error I get: linking /Users/kevin/Programming/phynchronicity/dist/ Phynchronicity.app/Contents/Frameworks/Python64.frame

[Pythonmac-SIG] Building 2.5 on SL

2009-10-06 Thread Stephen Hansen
Hi all. I'm trying to build a "private" instance of Python 2.5.4 on Snow Leopard, and am running into a problem. To get started, I'm doing: Top:Python-2.5.4 shansen$ export CC=/usr/bin/gcc-4.0 Top:Python-2.5.4 shansen$ ./configure --enable-universalsdk --enable-framework=/Library/APT/Frameworks

Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-06 Thread Kevin Walzer
Hi Ronald, Some additional testing: 1. I also tested macho_standalone against a standalone build of Wish with 64-bit included. I get this output: /usr/bin/strip: for architecture ppc64 object: /Users/kevin/Desktop/Wish.app/Contents/Frameworks/Tk.framework/Versions/8.5/Tk malformed object (l

Re: [Pythonmac-SIG] Build python app using wxpython on intel-leopard and deploy on powerpc-tiger?

2009-10-06 Thread Ned Deily
In article <20091006203908.ga23...@panix.com>, Aahz wrote: > What is your recommendation for supporting 10.4, 10.5, and 10.6? Does > including PPC make any difference? For python in general (not wx), my experience with building current python installers is that one can reliably build 2-way 32-

Re: [Pythonmac-SIG] Build python app using wxpython on intel-leopard and deploy on powerpc-tiger?

2009-10-06 Thread Ned Deily
In article , hari jayaram wrote: > I have gone ahead and installed python.org python 2.6 to the > intel-leopard laptop and with dependencies for the app i.e wx > (wxpython 2.8.10) , reportlab and pyyaml and the subversion build of > py2app. The app works fine with this python 2.6 > > I am usin

Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-06 Thread Kevin Walzer
I tried again, using the macholib from svn trunk and specifying python-64 instead of python as the interpreter. Here's the error I get: linking /Users/kevin/Programming/phynchronicity/dist/Phynchronicity.app/Contents/Frameworks/Python64.framework/Versions/Current -> 2.6 Traceback (most recent

Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-06 Thread Kevin Walzer
On 10/6/09 3:48 PM, Ronald Oussoren wrote: On 6 Oct, 2009, at 18:22, Ronald Oussoren wrote: Not sure what to do here. I think py2app should be able to handle building a Tkinter application as 64-bit without these errors; Tkinter isn't some weird edge case. I've installed the latest dev versi

Re: [Pythonmac-SIG] Build python app using wxpython on intel-leopard and deploy on powerpc-tiger?

2009-10-06 Thread Aahz
On Tue, Oct 06, 2009, Ned Deily wrote: > > One last thought! If you have access to a tiger machine, it may very > well be easier and safer if you build the app on 10.4. It should then > run on both 10.4 and 10.5. OS X 10.n -> 10.n+1 compatibility is usually > a given but 10.n -> 10.n-1 is not

Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-06 Thread Ronald Oussoren
On 6 Oct, 2009, at 18:22, Ronald Oussoren wrote: Not sure what to do here. I think py2app should be able to handle building a Tkinter application as 64-bit without these errors; Tkinter isn't some weird edge case. I've installed the latest dev versions of py2app and macholib. I'm also r

Re: [Pythonmac-SIG] Build python app using wxpython on intel-leopard and deploy on powerpc-tiger?

2009-10-06 Thread hari jayaram
Hi Ned thanks a tonne for your suggestions. I have gone ahead and installed python.org python 2.6 to the intel-leopard laptop and with dependencies for the app i.e wx (wxpython 2.8.10) , reportlab and pyyaml and the subversion build of py2app. The app works fine with this python 2.6 I am using th

Re: [Pythonmac-SIG] Build python app using wxpython on intel-leopard and deploy on powerpc-tiger?

2009-10-06 Thread Ned Deily
One last thought! If you have access to a tiger machine, it may very well be easier and safer if you build the app on 10.4. It should then run on both 10.4 and 10.5. OS X 10.n -> 10.n+1 compatibility is usually a given but 10.n -> 10.n-1 is not. The latest pythons (2.6.x) go to some trouble

Re: [Pythonmac-SIG] Build python app using wxpython on intel-leopard and deploy on powerpc-tiger?

2009-10-06 Thread Ned Deily
In article , Ned Deily wrote: > That python (/usr/local/bin/python2.5) will work on both Tiger and > Leopard. Reinstall your dependent packages (setuptools, py2app, wx, > reportlab, yaml) with that python. I should add that you need to make sure all the executables are targeted for 10.4. To

Re: [Pythonmac-SIG] Build python app using wxpython on intel-leopard and deploy on powerpc-tiger?

2009-10-06 Thread Ned Deily
In article , hari jayaram wrote: > Hi I have an OSX 10.5 running 64 bit leopard laptop. > > I have a python application that uses wxpython , reportlab and pyyaml > (yaml) libraries. > > I am trying to build the app on Leopard and deploy it on Tiger using > the following setup.py ( see below)

Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-06 Thread Ronald Oussoren
On 6 Oct, 2009, at 16:30, Kevin Walzer wrote: I'm trying to bundle up a Python application that uses four-way universal builds of Python and Tk (64-bit/32-bit for PPC and x86). py2app chokes when trying to link the Tk frameworks in the app bundle: linking /Users/kevin/Programming/phynchron

[Pythonmac-SIG] Build python app using wxpython on intel-leopard and deploy on powerpc-tiger?

2009-10-06 Thread hari jayaram
Hi I have an OSX 10.5 running 64 bit leopard laptop. I have a python application that uses wxpython , reportlab and pyyaml (yaml) libraries. I am trying to build the app on Leopard and deploy it on Tiger using the following setup.py ( see below) However the *.app does not work and gives an error

[Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-06 Thread Kevin Walzer
I'm trying to bundle up a Python application that uses four-way universal builds of Python and Tk (64-bit/32-bit for PPC and x86). py2app chokes when trying to link the Tk frameworks in the app bundle: linking /Users/kevin/Programming/phynchronicity/dist/Phynchronicity.app/Contents/Frameworks/