Re: [Pythonmac-SIG] working around versions

2007-11-05 Thread David Worrall
Thanks for your reply Ronald. I do run multiple versions, but I change the symlink of Current. Do you mean because people change versions in other ways, say through a shell alias rather than change the symlink? I can see that the sys.prefix approach is safer. thanks, David On 06/11/2007, at 1:37

Re: [Pythonmac-SIG] Problem with numpy on Leopard

2007-11-05 Thread Ian Baird
Shared libraries and environments (such as python) that are used system wide are good candidates for "frameworkization". Wil was saying that private frameworks should probably be avoided. Ian On Nov 5, 2007, at 11:32 AM, Nehemiah Dacres wrote: > I am not sure how Virtualenv works or why it's

Re: [Pythonmac-SIG] Problem with numpy on Leopard

2007-11-05 Thread Nehemiah Dacres
I am not sure how Virtualenv works or why it's not working but you make the statement >> Frameworks are IMHO a great idea. lets not be idiosyncratic here. Frameworks (if you mean *.framework packages) are only used by apple because they are cumbersome to use unless you are developing multiple app

Re: [Pythonmac-SIG] Problem with numpy on Leopard

2007-11-05 Thread Dethe Elza
On Nov 5, 2007 10:10 AM, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > That's partially because there's a large set of developers that only > test on Linux and then assume code will work everywhere :-/ I'm guilty of that in reverse. I only test on OS X and let Linux users fend for themselves until

Re: [Pythonmac-SIG] Problem with numpy on Leopard

2007-11-05 Thread Ronald Oussoren
On 5 Nov, 2007, at 19:09, Christopher Barker wrote: Ronald Oussoren wrote: Frameworks are IMHO a great idea. I agree, it's just that we need to port everything else to work with them - it gets tedious. That's partially because there's a large set of developers that only test on Linux

Re: [Pythonmac-SIG] Problem with numpy on Leopard

2007-11-05 Thread Christopher Barker
Ronald Oussoren wrote: > Frameworks are IMHO a great idea. I agree, it's just that we need to port everything else to work with them - it gets tedious. > The problems with virtualenv are probably shallow, Let's hope so. That comment was born of frustration from another project (GDAL) -- appa

Re: [Pythonmac-SIG] Problem with numpy on Leopard

2007-11-05 Thread Ronald Oussoren
On 5 Nov, 2007, at 18:08, Christopher Barker wrote: Ronald Oussoren wrote: Virtualenv almost but not quite works on OSX. Well, darn. I think Frameworks are a great idea, but as no one but Apple uses them, I"m really starting to think that they are not worth the effort. Sometimes, "think

Re: [Pythonmac-SIG] Leopard python architectures in setup.py

2007-11-05 Thread Christopher Barker
Ian Baird wrote: > On x86-64, you get more GPRs. From my naive benchmarking with my > algorithms on ObjC, I get at 15%-20% speedup. Since I had to google it -- GPR == "General Purpose Register" OK, 15-20% is nice! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division

Re: [Pythonmac-SIG] Problem with numpy on Leopard

2007-11-05 Thread Christopher Barker
Ronald Oussoren wrote: > Virtualenv almost but not quite works on OSX. Well, darn. I think Frameworks are a great idea, but as no one but Apple uses them, I"m really starting to think that they are not worth the effort. Sometimes, "thinking different" isn't such a great idea. Oh well, -Chris

Re: [Pythonmac-SIG] Leopard python architectures in setup.py

2007-11-05 Thread Ian Baird
On x86-64, you get more GPRs. From my naive benchmarking with my algorithms on ObjC, I get at 15%-20% speedup. Ian On Nov 5, 2007, at 10:03 AM, Christopher Barker wrote: > > semi OT: > > Ronald Oussoren wrote: >> It's to bad that they don't ship 64-bit command-line utilities as >> well. > >

Re: [Pythonmac-SIG] Leopard python architectures in setup.py

2007-11-05 Thread Christopher Barker
semi OT: Ronald Oussoren wrote: > It's to bad that they don't ship 64-bit command-line utilities as well. What does 64-bit buy you? Is the only advantage the ability to address a lot of memory? Any other performance advantages? i.e. -- how much should I care? -Chris -- Christopher Barker

Re: [Pythonmac-SIG] working around versions

2007-11-05 Thread Ronald Oussoren
On 5 Nov, 2007, at 3:51, David Worrall wrote: Hi All, We're doing some work around different versions of Python on OSX (and what's in their respective site-packages directory), and I was wondering: Given that we can pick up the the version number of the current instantiation using sys.version