Following the README instructions in a current checkout on OS X 10.7.4:
. Build a distribution with OpenSSL module, PIL and Kivy::
cd python-for-android
./distribute.sh -m "openssl pil kivy"
I got the attached (hopefully, once I submit this issue) output which terminates with::
+ try sed -i s:_LIBS_:/usr/local/src/python-for-android/src/obj/local/armeabi: setup.py
+ sed -i s:_LIBS_:/usr/local/src/python-for-android/src/obj/local/armeabi: setup.py
sed: 1: "setup.py": unterminated substitute pattern
+ exit -1