From: Paul Brossier Date: Mon, 28 Nov 2016 17:49:00 +0000 (+0100) Subject: scripts/setenv_local.sh: python3 compat X-Git-Tag: 0.4.4~133 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=c8e08c28319dc063d7ee5de62c22362f7c4c184a scripts/setenv_local.sh: python3 compat --- diff --git a/scripts/setenv_local.sh b/scripts/setenv_local.sh index ac9a5cf5..6d33efaf 100644 --- a/scripts/setenv_local.sh +++ b/scripts/setenv_local.sh @@ -8,7 +8,7 @@ # WARNING: this script will *overwrite* existing (DY)LD_LIBRARY_PATH and # PYTHONPATH variables. -PYTHON_PLATFORM=`python -c "import pkg_resources, sys; print '%s-%s' % (pkg_resources.get_build_platform(), '.'.join(map(str, sys.version_info[0:2])))"` +PYTHON_PLATFORM=`python -c "import pkg_resources, sys; print ('%s-%s' % (pkg_resources.get_build_platform(), '.'.join(map(str, sys.version_info[0:2]))))"` AUBIODIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" AUBIOLIB=$AUBIODIR/build/src