mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
gst-uninstalled: Default to python3
It's 2016, unless you've specified a different version of python, we'll default to python3
This commit is contained in:
parent
9bcebaacc7
commit
68b6ff27eb
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ export GST_PTP_HELPER=$GST/gstreamer/libs/gst/helpers/.libs/gst-ptp-helper
|
|||
# this still doesn't make it work for the uninstalled case, since man goes
|
||||
# look for a man directory "nearby" instead of the directory I'm telling it to
|
||||
export MANPATH=$GST/gstreamer/tools:$GST_PREFIX/share/man:$GST/gst-editing-services/docs/man/:$MANPATH
|
||||
if [ -z "$PYTHON" ]; then PYTHON="python"; fi
|
||||
if [ -z "$PYTHON" ]; then PYTHON="python3"; fi
|
||||
pythonver=`$PYTHON -c "import sys; print (sys.version[:3])"`
|
||||
pythonsites=`$PYTHON -c "import site; print(':'.join(site.getsitepackages()))"`
|
||||
export PYTHONPATH="${PYTHONPATH}:${pythonsites}:${GST}/gst-python"
|
||||
|
|
Loading…
Reference in a new issue