From: Sridhar Ratnakumar on
For licensing reasons, I need to disable readline, except editline on
OSX, when building Python. For the life of me, I cannot figure out how
this can be done ("./configure --help" does not show anything relevant);
I've tried the following, and readline.so will still be built:

- ./configure --without-readline
- ./configure --disable-readline
- Set `do_readline = False` in setup.py

This is for Python 2.6; and I am yet to port the same to 2.7.

-srid