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 authored and markotoplak committed Jun 27, 2024
1 parent c21dd80 commit e75e400
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 e75e400

Please sign in to comment.