Skip to content

Commit

Permalink
Link python 'shortcut' to Python.app/Contents/MacOS/Python
Browse files Browse the repository at this point in the history
Problem on MacOS exec_prefix is not resolved when symlink to
bin/python3.11

Probably due to python/cpython#29041
  • Loading branch information
ales-erjavec committed Apr 2, 2024
1 parent 0729a09 commit d23bf6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/macos/build-macos-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ cp -a "${DIR}"/skeleton.app/Contents/{Resources,Info.plist.in} \
ln -fs ../Frameworks/Python.framework/Versions/${PYVER}/Resources/Python.app/Contents/MacOS/Python \
"${APPDIR}"/Contents/MacOS/PythonApp

ln -fs ../Frameworks/Python.framework/Versions/${PYVER}/bin/python${PYVER} \
ln -fs ../Frameworks/Python.framework/Versions/${PYVER}/Resources/Python.app/Contents/MacOS/Python \
"${APPDIR}"/Contents/MacOS/python

"${APPDIR}"/Contents/MacOS/python -m ensurepip
Expand Down

0 comments on commit d23bf6b

Please sign in to comment.