make configure accept python.
init the base python support function.