[IPython-user] yet another leopard/readline question

Glenn grpython@sonic....
Sat Feb 23 16:02:25 CST 2008


I'm running 10.5.2 on a PPC and I'm not having much luck getting  
readline to play nicely with ipython.

I tried 'sudo easy_install -f http://ipython.scipy.org/dist/  
readline', which did a lot of successful work until it got to:

============ Building the readline extension module ============

where it did a traceback, the last entry of which was:

File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/ 
lib/python/setuptools/command/build_ext.py", line 77, in swig_sources
     sources = _build_ext.swig_sources(self, sources) or sources
TypeError: swig_sources() takes exactly 3 arguments (2 given)

which looks, to me, like an error in the Apple supplied python scripts.

So I downloaded the egg from http://ipython.scipy.org/dist/readline-2.5.1-py2.5-macosx-10.5-i386.egg 
After putting it in my PYTHONPATH (/Library/Python/2.5/site- 
packages/), ipython ignores its existence. On startup ipython declares  
'Leopard libedit detected.' and the up and down arrows do their funky  
thing navigating the command history.

Is there something else I need to do so ipython can find and use  


On Feb 22, 2008, at 3:25 PM, Ludwig Schwardt wrote:

> Hi,
> I made the readline egg a four-way universal binary (intel+ppc,
> 32+64-bit), as far as I can tell. The i386 tag is a misnomer, as the
> egg building scripts are unaware of fat binaries and name the egg
> according to the system on which you build it. I renamed it every
> time, except for the one I posted to the list...
> Unfortunately, I had no ppc Leopard machines to test it on. Any
> feedback would be very useful. I plan to add the readline egg to pypi
> soon, and it would be nice to fix any bugs before then.
> Regards,
> Ludwig
> _______________________________________________
> IPython-user mailing list
> IPython-user@scipy.org
> http://lists.ipython.scipy.org/mailman/listinfo/ipython-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ipython.scipy.org/pipermail/ipython-user/attachments/20080223/a269fea7/attachment.html 

More information about the IPython-user mailing list