Archive for August, 2008

PyDev acquired

August 30, 2008

On “unrelated” front: it seems PyDev has been acquired by Aptana. The press release also comments on the increasing popularity of python, thanks to Google App Engine.

Get IPython working on Maemo scratchbox

August 28, 2008

Here’s what you need to do to get ipython running on maemo scratchbox (Diablo, though also applicable for Chinook with slight modifications):

Ensure that you have the following in /etc/apt/sources.list:

deb http://repository.maemo.org/extras diablo free non-free

Run ‘apt-get update’ and ‘apt-get upgrade’ (this is because the python2.5 shipped with Diablo comes without readline support), then install setuptools:

apt-get install python2.5-setuptools

Install ipython with easy_install:

python2.5 /usr/bin/easy_install ipython

HOWEVER, the maemo sdk’s have a buggy readline, so you should fix the cd completer if you are using a newer ipython than 0.8.4. In that case, you should add the following lines to your ipy_user_conf.py:

import ipy_completers
ipy_completers.greedy_cd_completer = True

And to always get the latest nightly snapshot of ipython, do:

wget http://ipython.scipy.org/dist/testing/ipython-dev-nightly.tgz
cd ipython-dev-nightly
python2.5 setup.py install