add readline to python optional dependencies