How to disable readline when building Python?

Sridhar Ratnakumar sridharr at activestate.com
Sun Jul 4 01:12:48 EDT 2010


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



More information about the Python-list mailing list