# Path to Python 3 framework.
PYTHONFRAMEWORKDIR=`brew list python3 | grep Python.framework | head -n 1 | xargs dirname`/../../../..
-PYVER="3.6"
+PYVER="3.7"
# You usually don't need to change anything below this line.
rm -rf $PYDIR/lib/python$PYVER/**/**/__pycache__
rm -rf $PYDIR/Resources
install_name_tool -change \
- /usr/local/opt/python3/Frameworks/Python.framework/Versions/$PYVER/Python \
+ /usr/local/opt/python/Frameworks/Python.framework/Versions/$PYVER/Python \
@executable_path/../Frameworks/Python.framework/Versions/$PYVER/Python \
$FRAMEWORKSDIR/libsigrokdecode.*.dylib