Skip to content

Commit e69855e

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 948c421 commit e69855e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/macos/build-macos-app.sh

+1-1
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)