[Pythonmac-SIG] Universal binary SciPy on OS X

2006-12-14 Thread Josh Marshall
I have been trying to build a universal SciPy that works, so I can include it in a redistributable application I build with py2app. The one at http://pythonmac.org/packages/py24-fat/index.html is *incomplete*, it contains some dynamic libraries which are ppc only, which is what also happens

Re: [Pythonmac-SIG] undefined symbols when making python wrapped c libs for itk

2006-12-14 Thread Bob Ippolito
The correct way to link Python extensions is to use distutils, end of story. The compiler/linker flags are different for every platform and sometimes differ based upon the way it's built. Specifically in this case all that should be necessary is -undefined dynamic_lookup -- however, the only good f

Re: [Pythonmac-SIG] undefined symbols when making python wrapped c libs for itk

2006-12-14 Thread Dan White
Hi, Actually i see the same error message using python2.5 when building ITK python wrapping. I was wondering what i am doing wrong that ld is not seeing pytohn properly to find those symbols? Any one know what is going wrong to give error message like >> /usr/bin/ld: Undefined symbols: >>

Re: [Pythonmac-SIG] CPython on Mac OSX

2006-12-14 Thread Ronald Oussoren
The best way to do this is using distutils, which is the standard python package for building and installing python packages. The document at should get you going. To quote from that, create a setup.py containing: #BEGIN OF FILE from distutils.cor

Re: [Pythonmac-SIG] CPython on Mac OSX

2006-12-14 Thread Bob Ippolito
On 12/13/06, Gen Kazama <[EMAIL PROTECTED]> wrote: > Hi I'm running python 2.3 on 10.4. i made an application using a C backend > and a python frontend. > > This is a school project and although it works perfectly on the school > computers, i have trouble compiling the C code correctly on the mac

[Pythonmac-SIG] CPython on Mac OSX

2006-12-14 Thread Gen Kazama
Hi I'm running python 2.3 on 10.4. i made an application using a C backend and a python frontend. This is a school project and although it works perfectly on the school computers, i have trouble compiling the C code correctly on the mac to make it into a python module (maybe this is becaus