mirror of
https://github.com/powerline/powerline.git
synced 2025-07-29 16:55:07 +02:00
Do not use python from ~/opt directly
It causes problems with sys.path: interpreter could not use installed packages.
This commit is contained in:
parent
466ee2e295
commit
23bec031a4
@ -3,14 +3,10 @@
|
|||||||
|
|
||||||
if test -z "${PYTHON}" ; then
|
if test -z "${PYTHON}" ; then
|
||||||
if test -n "$USE_UCS2_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}"
|
LD_LIBRARY_PATH="$HOME/opt/cpython-ucs2-$UCS2_PYTHON_VARIANT/lib${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
|
||||||
else
|
|
||||||
PYTHON=python
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PYTHON
|
|
||||||
export LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH
|
||||||
export USER
|
export USER
|
||||||
export HOME
|
export HOME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user