ref: c8e08c28319dc063d7ee5de62c22362f7c4c184a
parent: cad7e919e0dd16239faab02aff7fd67837e98797
author: Paul Brossier <piem@piem.org>
date: Mon Nov 28 13:49:00 EST 2016
scripts/setenv_local.sh: python3 compat
--- 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