Skip to content

Commit

Permalink
PYTHONHOME can be used with 3.6.0, close #88
Browse files Browse the repository at this point in the history
  • Loading branch information
kuri65536 committed Mar 4, 2017
1 parent 10d1aaf commit d6766ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sl4atools/python3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fi
# android.Android() will launch SL4A server, if server down.

PW=`pwd`
ver=`python --version | cut -d " " -f 2 | cut -d . -f 1-2`
ver=3.6
export EXTERNAL_STORAGE=$st
export LANG=en
bin=/data/data/com.googlecode.python3forandroid/files/python3
Expand All @@ -18,8 +18,8 @@ PYTHONPATH=${PYTHONPATH}:$bin/lib/python$ver/lib-dynload
export PYTHONPATH
export TEMP=$ext/tmp
export PYTHON_EGG_CACHE=$TEMP
# do not use this for Python3... see issue tracker.
# export PYTHONHOME=$bin
# do not use this for Python3.4, see issue tracker.
export PYTHONHOME=$ext:$bin
export LD_LIBRARY_PATH=$bin/lib
cd $PW
if [ $api -lt 14 ]; then
Expand Down

0 comments on commit d6766ef

Please sign in to comment.