Re: [Pythonmac-SIG] Using distutils with XCode

2005-10-09 Thread Chris Barker
Paul Kinnane wrote: > The python extension I am trying to compile is for a 3d graphics > animation package - which has a Python2.2 (carbon) interface. If it's carbon under OS-X, then it could be either Mach-O, which you should be able to do with gcc. However if the binary can run under both OS-

Re: [Pythonmac-SIG] Using distutils with XCode

2005-10-09 Thread Paul Kinnane
is a trivial exercise in that environment), however the aim is to have a Mac version too. Paul -Original Message- From: Chris Barker [mailto:[EMAIL PROTECTED] Sent: Saturday, 8 October 2005 1:28 AM To: pythonmac-sig@python.org Subject: Re: [Pythonmac-SIG] Using distutils with XCode Paul

Re: [Pythonmac-SIG] Using distutils with XCode

2005-10-07 Thread Chris Barker
Paul Kinnane wrote: > I'm in the unfortunate position to need to be using Python2.2. Do you need Python 2.2? or so you need to run under Classic? If the former, and not the later, perhaps you can get 2.2 compiled for OS-X. If you need a straight unix-y python, it should be doable. In fact, I thi

Re: [Pythonmac-SIG] Using distutils with XCode

2005-10-07 Thread Paul Kinnane
pythonmac-sig@python.org Subject: Re: [Pythonmac-SIG] Using distutils with XCode Paul Kinnane wrote: > I have now got the library compiled and working in Dawrin python. I > simply compiled and linked with g++ instead of gcc (I did this by > manually entering the compile and link commands tha

Re: [Pythonmac-SIG] Using distutils with XCode

2005-10-06 Thread Bob Ippolito
On Oct 6, 2005, at 11:56 AM, Chris Barker wrote: > Bob Ippolito wrote: > >> I'm relatively sure that distutils does support CW. >> > > For a CFM build? Yea >> No clue about >> MPW. Either way MacPython-OS9 is a dead end. >> > > Agreed, I wonder what the OP really needs. > > Bob, now that we ha

Re: [Pythonmac-SIG] Using distutils with XCode

2005-10-06 Thread Chris Barker
Bob Ippolito wrote: > I'm relatively sure that distutils does support CW. For a CFM build? > No clue about > MPW. Either way MacPython-OS9 is a dead end. Agreed, I wonder what the OP really needs. Bob, now that we have your attentionHow would the OP get the setup.py he's working with to

Re: [Pythonmac-SIG] Using distutils with XCode

2005-10-06 Thread Bob Ippolito
On Oct 5, 2005, at 9:40 PM, Chris Barker wrote: > Paul Kinnane wrote: > >> I want to use the library in MacPython (rather than Darwin python). >> > > What is MacPython vs. darwin Python? There is now one, unified python. > You can use 2.3.* or 2.4.*, but either way, it's native OS-X. If you > wan

Re: [Pythonmac-SIG] Using distutils with XCode

2005-10-05 Thread Chris Barker
Paul Kinnane wrote: > I have now got the library compiled and working in Dawrin python. I > simply compiled and linked with g++ instead of gcc (I did this by > manually entering the compile and link commands that setup.py was > issuing, changing "gcc" to "g++'). I'd still like to know how to make

Re: [Pythonmac-SIG] Using distutils with XCode

2005-10-05 Thread Paul Kinnane
.slb using gcc? Thanks Paul -Original Message- From: Chris Barker [mailto:[EMAIL PROTECTED] Sent: Thursday, 6 October 2005 2:06 AM To: Paul Kinnane Cc: pythonmac-sig@python.org Subject: Re: [Pythonmac-SIG] Using distutils with XCode Paul, I don't really have much more to offer

Re: [Pythonmac-SIG] Using distutils with XCode

2005-10-05 Thread Chris Barker
Paul, I don't really have much more to offer here. As I mentioned, I ran into a similar problem a while back, but never really solved it...I just converted my C++ code to C. I'm hoping someone that really knows what they are doing could help. In the meantime, one thing to try is to look for an

Re: [Pythonmac-SIG] Using distutils with XCode

2005-10-03 Thread Paul Kinnane
./ode-0.5/lib -lode -o build/lib.darwin-8.0.0-PowerMacintosh-2.2/ode.so There are no link errors. Paul -Original Message- From: Chris Barker [mailto:[EMAIL PROTECTED] Sent: Tuesday, 4 October 2005 2:10 AM To: Paul Kinnane; pythonmac-sig@python.org Subject: Re: [Pythonmac-SIG] Using distuti

Re: [Pythonmac-SIG] Using distutils with XCode

2005-10-03 Thread Chris Barker
Paul Kinnane wrote: > OK, I found I could compile and successfully import the test.c sample > from http://www.nevada.edu/~cwebster/Python/MPWHOWTO/MPWHOWTO.html using > the Darwin "python setup.py install" command. > > However, I'm trying to compile a wrapper for the ode physics engine. > The wrap

Re: [Pythonmac-SIG] Using distutils with XCode

2005-10-03 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, "Paul Kinnane" <[EMAIL PROTECTED]> wrote: > OK, I found I could compile and successfully import the test.c sample > from http://www.nevada.edu/~cwebster/Python/MPWHOWTO/MPWHOWTO.html using > the Darwin "python setup.py install" command. > > However, I'm trying to

Re: [Pythonmac-SIG] Using distutils with XCode

2005-10-03 Thread Paul Kinnane
is the exact cmd line parameter I should use to do this? Thanks for any assistance given. Paul -Original Message- From: Chris Barker [mailto:[EMAIL PROTECTED] Sent: Saturday, 1 October 2005 1:38 AM To: Paul Kinnane; pythonmac-sig@python.org Subject: Re: [Pythonmac-SIG] Using distuti

Re: [Pythonmac-SIG] Using distutils with XCode

2005-09-30 Thread Chris Barker
Paul Kinnane wrote: > the distutils on OSX10.4. I don't have CodeWarrior 7 and wondered if it > was possible to manually compile the library using XCode? I see it is > possible using MPW > (http://www.nevada.edu/~cwebster/Python/MPWHOWTO/MPWHOWTO.html) - that is a very old doc, and only applies