Created
March 3, 2013 18:59
-
-
Save jottr/5077645 to your computer and use it in GitHub Desktop.
python standalone for android
This file contains 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
#! /bin/sh | |
export EXTERNAL_STORAGE=/mnt/storage | |
PYTHONPATH=/mnt/storage/com.googlecode.pythonforandroid/extras/python | |
PYTHONPATH=${PYTHONPATH}:/data/data/com.googlecode.pythonforandroid/files/python/lib/python2.6/lib-dynload | |
export PYTHONPATH | |
export TEMP=/mnt/storage/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 | |
/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