mirror of
https://github.com/python/cpython.git
synced 2024-11-23 01:45:25 +08:00
gh-111015: Install IDLE.app and Python Launcher.app on macOS with correct permissions (gh-111016)
Co-authored-by: Ned Deily <nad@python.org>
This commit is contained in:
parent
3156d193b8
commit
cb1bf89c40
@ -257,6 +257,8 @@ install_IDLE:
|
||||
rm "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def~" ; \
|
||||
fi
|
||||
touch "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
|
||||
chmod -R ugo+rX,go-w "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
|
||||
chmod ugo+x "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/IDLE"
|
||||
|
||||
$(INSTALLED_PYTHONAPP): install_Python
|
||||
|
||||
|
@ -27,6 +27,8 @@ install: Python\ Launcher.app
|
||||
-test -d "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app" && rm -r "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app"
|
||||
/bin/cp -r "Python Launcher.app" "$(DESTDIR)$(PYTHONAPPSDIR)"
|
||||
touch "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app"
|
||||
chmod -R ugo+rX,go-w "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app"
|
||||
chmod ugo+x "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app/Contents/MacOS/Python Launcher"
|
||||
|
||||
clean:
|
||||
rm -f *.o "Python Launcher"
|
||||
|
@ -0,0 +1 @@
|
||||
Ensure that IDLE.app and Python Launcher.app are installed with appropriate permissions on macOS builds.
|
Loading…
Reference in New Issue
Block a user