Created
October 7, 2012 02:01
-
-
Save shifei010/3846839 to your computer and use it in GitHub Desktop.
sl4a python standalone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PW=`pwd` | |
export EXTERNAL_STORAGE=/mnt/sdcard | |
export LANG=en | |
PYTHONPATH=/mnt/sdcard/com.googlecode.pythonforandroid/extras/python | |
PYTHONPATH=${PYTHONPATH}:/data/data/com.googlecode.pythonforandroid/files/python/lib/python2.6/lib-dynload | |
export PYTHONPATH | |
export TEMP=/mnt/sdcard/com.googlecode.pythonforandroid/extras/python/tmp | |
export PYTHON_EGG_CACHE=$TEMP | |
export PYTHONHOME=/data/data/com.googlecode.pythonforandroid/files/python | |
export LD_LIBRARY_PATH=/data/data/com.googlecode.pythonforandroid/files/python/lib | |
cd $PW | |
/data/data/com.googlecode.pythonforandroid/files/python/bin/python "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment