Skip to content

Commit

Permalink
OSX: Update py2app call to use new ttvdb4.py script vs depricated ttv…
Browse files Browse the repository at this point in the history
…db.py
  • Loading branch information
jhoyt4 committed Feb 4, 2022
1 parent 46026f3 commit 8be23da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OSX/build/macports_ansible/compileMythfrontendAnsible.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -539,19 +539,19 @@ if [ -f setup.py ]; then
rm setup.py
fi

echo " Creating a temporary application from ttvdb.py"
echo " Creating a temporary application from ttvdb4.py"
# in order to get python embedded in the application we're going to make a temporyary application
# from one of the python scripts (ttvdb) which will copy in all the required libraries for
# running and will make a standalone python executable not tied to the system
# ttvdb seems to be more particular than tmdb3...
# ttvdb4 seems to be more particular than tmdb3...

# special handling for arm64 architecture until py2app is updated to fully support it
if [ $(/usr/bin/arch)=="arm64" ]; then
PY2APP_ARCH="--arch=universal"
else
PY2APP_ARCH=""
fi
$PY2APPLET_BIN $PY2APP_ARCH -p $PYTHON_RUNTIME_PKGS --site-packages --use-pythonpath --make-setup $INSTALL_DIR/share/mythtv/metadata/Television/ttvdb.py
$PY2APPLET_BIN $PY2APP_ARCH -p $PYTHON_RUNTIME_PKGS --site-packages --use-pythonpath --make-setup $INSTALL_DIR/share/mythtv/metadata/Television/ttvdb4.py

$PYTHON_BIN setup.py -q py2app 2>&1 > /dev/null
# now we need to copy over the pythong app's pieces into the mythfrontend.app to get it working
Expand Down

0 comments on commit 8be23da

Please sign in to comment.