Re: [Pythonmac-SIG] psyco and Mac OS X i386

2006-06-06 Thread Ronald Oussoren
On 6-jun-2006, at 21:44, Bob Ippolito wrote: > > The IA-32 calling conventions for Mac OS X are documented here: > http://developer.apple.com/documentation/DeveloperTools/Conceptual/ > LowLevelABI/Articles/IA32.html > > And you'll probably also want to look at the disassembly (otool -tVv > is goo

Re: [Pythonmac-SIG] psyco and Mac OS X i386

2006-06-06 Thread Michael Glassford
Bob Ippolito wrote: [snip] > I went through and confirmed that indeed the stack alignment is the > reason why psyco doesn't function properly on Mac OS X i386. You can > confirm this by running the bpnn.py example under gdb. You'll > eventually get an Illegal Instruction (GP(0) exception) dur

[Pythonmac-SIG] psyco and Mac OS X i386

2006-06-06 Thread Bob Ippolito
On Jun 6, 2006, at 10:35 AM, Bob Ippolito wrote: > > On Jun 6, 2006, at 9:56 AM, Michael Glassford wrote: > >> Bob Ippolito wrote: >> What's the right way to detect within the application whether its running on an Intel or a PowerPC Mac? I can figure out a way on my own (such

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-06 Thread David M. Cooke
On Mon, 05 Jun 2006 16:56:41 -0700 "Russell E. Owen" <[EMAIL PROTECTED]> wrote: > When using py2app to create an application, is there a simple way to > get the path to the copy of python that is/will be bundled into the > application? > > (I need this to copy in some matploblit data files) > S

Re: [Pythonmac-SIG] A couple of universal binary questions

2006-06-06 Thread Bob Ippolito
On Jun 6, 2006, at 9:56 AM, Michael Glassford wrote: > Bob Ippolito wrote: > >>> What's the right way to detect within the application whether its >>> running on an Intel or a PowerPC Mac? I can figure out a way on >>> my own >>> (such as looking at sys.byteorder), but I wonder if there's an >>

Re: [Pythonmac-SIG] A couple of universal binary questions

2006-06-06 Thread Ronald Oussoren
On 6-jun-2006, at 18:56, Michael Glassford wrote: > >>> What's the right way to detect within the application whether its >>> running on an Intel or a PowerPC Mac? I can figure out a way on >>> my own >>> (such as looking at sys.byteorder), but I wonder if there's an >>> "official" way. >> >>

Re: [Pythonmac-SIG] A couple of universal binary questions

2006-06-06 Thread Michael Glassford
Ronald Oussoren wrote: > On 6-jun-2006, at 18:33, Michael Glassford wrote: > >> Is it possible to build a universal binary version of a Py2App/PyObjC >> based application that runs on pre-Tiger Macs? I assume this would >> require doing the build on a non-Intel Mac, since you generally >> have t

Re: [Pythonmac-SIG] A couple of universal binary questions

2006-06-06 Thread Michael Glassford
Bob Ippolito wrote: > On Jun 6, 2006, at 9:33 AM, Michael Glassford wrote: > >> Is it possible to build a universal binary version of a Py2App/PyObjC >> based application that runs on pre-Tiger Macs? I assume this would >> require doing the build on a non-Intel Mac, since you generally >> have t

Re: [Pythonmac-SIG] A couple of universal binary questions

2006-06-06 Thread Ronald Oussoren
On 6-jun-2006, at 18:33, Michael Glassford wrote: > Is it possible to build a universal binary version of a Py2App/PyObjC > based application that runs on pre-Tiger Macs? I assume this would > require doing the build on a non-Intel Mac, since you generally > have to > build it on the earliest s

Re: [Pythonmac-SIG] A couple of universal binary questions

2006-06-06 Thread Bob Ippolito
On Jun 6, 2006, at 9:33 AM, Michael Glassford wrote: > Is it possible to build a universal binary version of a Py2App/PyObjC > based application that runs on pre-Tiger Macs? I assume this would > require doing the build on a non-Intel Mac, since you generally > have to > build it on the earlies

[Pythonmac-SIG] A couple of universal binary questions

2006-06-06 Thread Michael Glassford
Is it possible to build a universal binary version of a Py2App/PyObjC based application that runs on pre-Tiger Macs? I assume this would require doing the build on a non-Intel Mac, since you generally have to build it on the earliest system version you want to run it on to get the right Foundat

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-06 Thread Bob Ippolito
On Jun 6, 2006, at 9:13 AM, Russell E Owen wrote: > At 5:06 PM -0700 2006-06-05, Bob Ippolito wrote: >> On Jun 5, 2006, at 4:56 PM, Russell E. Owen wrote: >> >>> When using py2app to create an application, is there a simple way >>> to get >>> the path to the copy of python that is/will be bundl

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-06 Thread Christopher Barker
Russell E. Owen wrote: > When using py2app to create an application, is there a simple way to get > the path to the copy of python that is/will be bundled into the > application? > > (I need this to copy in some matploblit data files) I'm pretty sure there is a standard place in an App bundle