Comment #24 on issue 146 by kxepal: Up-to-dated view server
http://code.google.com/p/couchdb-python/issues/detail?id=146
tested on android 2.3.4 Google Nexus One using Py4A application. To share
my happiness do next things:
1. copy couchdb package folder to
/sdcard/com.googlecode.pythonforandroid/extras/python (query server imports
are absolute and uses couchdb package as root)
2. create file on sdcard, for example /sdcard/couchpy, and place next code
into it:
PYTHONPATH=/data/data/com.googlecode.pythonforandroid/files/python/lib/pyth on2.6/lib-dynload
PYTHONPATH=${PYTHONPATH}:/mnt/sdcard/com.googlecode.pythonforandroid/extras /python
export PYTHONPATH
export PYTHONHOME=/data/data/com.googlecode.pythonforandroid/files/python
export
LD_LIBRARY_PATH=/data/data/com.googlecode.pythonforandroid/files/python/lib
/data/data/com.googlecode.pythonforandroid/files/python/bin/python
/mnt/sdcard/com.googlecode.pythonforandroid/extras/python/couchdb/view.py
--couchdb-version=1.0.0
3. add next line to query_servers section in CouchDB configuration:
python = sh -e /sdcard/couchpy
4. ...
5. now you could use pythonic design documents on android(: