[Pythonmac-SIG] How do you tell the system which version to use ?

2010-08-22 Thread Dan White
I find that I have at least 3 versions of Python on my system. 2 under /System/Library/Frameworks/Python.framework/Versions (2.3 and 2.5) and one under /Library/Frameworks/Python.framework/Versions (2.7) Going from Terminal, I get 2.7 Running a script in Scribus, I get 2.3 I found info that

[Pythonmac-SIG] A script for Scribus that won't run on my Mac

2010-08-21 Thread Dan White
I am a python n00b, and I cannot figure this out. I got a script from forum that is supposed to "build" a set of calendar pages in Scribus. It won't run on my Mac (Intel iMac, MacOS 10.5.8, Python 2.7, Scribus 1.3.8) Here is an extract containing the offending code: -

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] Pythonmac-SIG Digest, Vol 40, Issue 25

2006-08-29 Thread Dan White
On Aug 29, 2006, at 5:28 AM, [EMAIL PROTECTED] wrote: > patches like this: > > # cd Python-2.5c1 > # patch -p0 < ~/Mac-PythonLauncher-Makefile.in.diff > # patch < ~/configure.diff > > > I invoked configure like this: > > # CC=icc CXX=icpc OPT="-xT -O3 -fstack-security-check -fpic - > parallel" I

Re: [Pythonmac-SIG] intel compiler

2006-08-28 Thread Dan White
ork on this. > > Ronald > >> >> Perry Smith >> Ease Software, Inc. >> [EMAIL PROTECTED] >> http://www.easesoftware.com >> >> AIX Kernel Level Consulting Services and SATA Products >> >> >> >> On Aug 28, 2006, at 3:28 AM, Ronald

Re: [Pythonmac-SIG] intel compiler

2006-08-28 Thread Dan White
> > Could someone who is using the Intel compiler say something about > the performance of resulting binaries compared to binaries created > by GCC. I'm obviously mostly interested in the speed of the python > interpreter. > > Ronald > for C++ code which is doing recursive / parallelisable t

Re: [Pythonmac-SIG] install_name changing

2006-08-28 Thread Dan White
Hi Boyd, I am using the universal python build, which I guess was made with gcc comilers... I think there was a license problem using the intel compilers for python where it might be used in a commercial setting. Since our project BioImageXD is free and open source under GPL we could use an int

Re: [Pythonmac-SIG] py2app and install_name changing to @executable_path/../Frameworks/libWhatever.dylib

2006-08-24 Thread Dan White
>> >> >> what should i rewrite it to be? >> using >> install_name_tool -id ? >> what would make pyapp automatically copy the library and rewrite >> the install_name? > > If I understand things correctly the install_name of libguide.dylib > is currently just libguide.dylib, whereas it should b

Re: [Pythonmac-SIG] with libraries compiled with intel compilers, intel libguide.dylib not included

2006-06-21 Thread Dan White
On 21 Jun 2006, at 09:29, Ronald Oussoren wrote: > > On 20-jun-2006, at 23:32, Dan White wrote: >> >> >> what should i rewrite it to be? >> using >> install_name_tool -id ? >> what would make pyapp automatically copy the library and rewrite >&

Re: [Pythonmac-SIG] with libraries compiled with intel compilers, intel libguide.dylib not included

2006-06-21 Thread Dan White
On 21 Jun 2006, at 11:35, Dan White wrote: > > On 20 Jun 2006, at 20:40, Ronald Oussoren wrote: > >> >> On 20-jun-2006, at 19:08, Dan White wrote: >> >>> >>> On 15 Jun 2006, at 10:55, Ronald Oussoren wrote: >>> >>>> >>>

Re: [Pythonmac-SIG] with libraries compiled with intel compilers, intel libguide.dylib not included

2006-06-21 Thread Dan White
On 20 Jun 2006, at 20:40, Ronald Oussoren wrote: > > On 20-jun-2006, at 19:08, Dan White wrote: > >> >> On 15 Jun 2006, at 10:55, Ronald Oussoren wrote: >> >>> >>> On 15-jun-2006, at 9:28, Dan White wrote: >>> >>> >>>>

Re: [Pythonmac-SIG] with libraries compiled with intel compilers, intel libguide.dylib not included

2006-06-21 Thread Dan White
On 21 Jun 2006, at 09:29, Ronald Oussoren wrote: > > On 20-jun-2006, at 23:32, Dan White wrote: >> >> >> what should i rewrite it to be? >> using >> install_name_tool -id ? >> what would make pyapp automatically copy the library and rewrite >&

Re: [Pythonmac-SIG] with libraries compiled with intel compilers, intel libguide.dylib not included

2006-06-20 Thread Dan White
On 20 Jun 2006, at 20:40, Ronald Oussoren wrote: > > On 20-jun-2006, at 19:08, Dan White wrote: > >> >> On 15 Jun 2006, at 10:55, Ronald Oussoren wrote: >> >>> >>> On 15-jun-2006, at 9:28, Dan White wrote: >>> >>> >>>>

Re: [Pythonmac-SIG] with libraries compiled with intel compilers, intel libguide.dylib not included

2006-06-20 Thread Dan White
On 15 Jun 2006, at 10:55, Ronald Oussoren wrote: > > On 15-jun-2006, at 9:28, Dan White wrote: > > >> >> >> So yes there are some DYLD_LIBRARY_PATH suff set. >> >> Maybe therein lies the problem...? >> Python probably doesn't know about th

Re: [Pythonmac-SIG] with libraries compiled with intel compilers, intel libguide.dylib not included

2006-06-15 Thread Dan White
On 15 Jun 2006, at 10:55, Ronald Oussoren wrote: > > On 15-jun-2006, at 9:28, Dan White wrote: > > >> >> >> So yes there are some DYLD_LIBRARY_PATH suff set. >> >> Maybe therein lies the problem...? >> Python probably doesn't know about th

Re: [Pythonmac-SIG] with libraries compiled with intel compilers, intel libguide.dylib not included

2006-06-15 Thread Dan White
On 14 Jun 2006, at 18:26, Bob Ippolito wrote: > > On Jun 14, 2006, at 8:01 AM, Dan White wrote: > >> Hi Python Mac folks, >> >> I am using intel compilers to make VTK dylibs, >> then py2app 0.2 maint svn version to make a .app bundle >> >> When

[Pythonmac-SIG] py2app with libraries compiled with intel compilers, intel libguide.dylib not included

2006-06-14 Thread Dan White
Hi Python Mac folks, I am using intel compilers to make VTK dylibs, then py2app 0.2 maint svn version to make a .app bundle When I run the .app that i am making it complains about not being able to find one of the intel compiler .dylib s libguide.dylib which is found at /opt/intel/cc/9.1.024

Re: [Pythonmac-SIG] OSX on intel, py2app 0.2 maint wxPython2.6.3.2rc3-universal10.4-py24.dmg .rsrc file missing

2006-06-14 Thread Dan White
Hi Kevin and all, > Please try the following build: > > http://kevino.theolliviers.com/wxpython/wxPython2.6-osx- > unicode-2.6.3.2rc3-universal10.4-py2.4.dmg > > It does link against the wx libraries now, but I realized that > PyOpenGL (even CVS) won't build for Universal Python, at least not

[Pythonmac-SIG] py2app SVN - install error

2006-06-14 Thread Dan White
Hi Bob, i checked out the py2app SVN onto my MacBookPro with the universal python2.4 installed The py2app install instructions say run python setup.py bdist_mpkg --open but that gives me an error after it downloads the egg, see below, am I doing something wrong? cheers Dan white:~/Desktop

Re: [Pythonmac-SIG] py2app universal binary problems

2006-06-12 Thread Dan White
Hi Steve, I have got as far a building the python wrapped c++ libraries i need to use on ppc and intel, and now I need to lipo them together to make universal ones, then i can get working with py2app. We had problem previously with py2app not picking up all the bits it needed to make a workin

Re: [Pythonmac-SIG] py2app - apple gcc4.0.1 - universal binaries - problems and questions

2006-04-11 Thread Dan White
l binaries without using Xcode, and have py2app turn them into a universal binary BioImageXD.app application bundle? (Can I do it without using X code? Can python work with C++ in Xcode?) Your help and wisdom would be greatly appreciated! cheers Dan White - bioImageXD team Dr. Daniel James