Skip to content

Commit d23bf6b

Browse files
committed
Link python 'shortcut' to Python.app/Contents/MacOS/Python
Problem on MacOS exec_prefix is not resolved when symlink to bin/python3.11 Probably due to python/cpython#29041
1 parent 0729a09 commit d23bf6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/macos/build-macos-app.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ cp -a "${DIR}"/skeleton.app/Contents/{Resources,Info.plist.in} \
100100
ln -fs ../Frameworks/Python.framework/Versions/${PYVER}/Resources/Python.app/Contents/MacOS/Python \
101101
"${APPDIR}"/Contents/MacOS/PythonApp
102102

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

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

0 commit comments

Comments
 (0)