After the removal of python2 support, this script always calls $SAGE_LOCAL/bin/python3.
This simplification will help with implementing #29013.
CC: @tobiasdiez @dimpase @jhpalmieri
Component: build
Author: Tobias Diez, Matthias Koeppe
Branch/Commit: df2822c
Reviewer: Matthias Koeppe, Tobias Diez, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/30731