Do not use python from ~/opt directly

It causes problems with sys.path: interpreter could not use installed packages.
This commit is contained in:
Foo 2018-02-25 21:53:24 +03:00
parent 466ee2e295
commit 23bec031a4
1 changed files with 0 additions and 4 deletions

View File

@ -3,14 +3,10 @@
if test -z "${PYTHON}" ; then
if test -n "$USE_UCS2_PYTHON" ; then
PYTHON="$HOME/opt/cpython-ucs2-$UCS2_PYTHON_VARIANT/bin/python$UCS2_PYTHON_VARIANT"
LD_LIBRARY_PATH="$HOME/opt/cpython-ucs2-$UCS2_PYTHON_VARIANT/lib${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
else
PYTHON=python
fi
fi
export PYTHON
export LD_LIBRARY_PATH
export USER
export HOME