Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 228b124

Browse filesBrowse files
miss-islingtonjmrootned-deily
authored
[3.12] gh-111015: Install IDLE.app and Python Launcher.app on macOS with correct permissions (gh-111037)
(cherry picked from commit cb1bf89) Co-authored-by: Joshua Root <jmr@macports.org> Co-authored-by: Ned Deily <nad@python.org>
1 parent b8ce5d9 commit 228b124
Copy full SHA for 228b124

File tree

Expand file treeCollapse file tree

3 files changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+5
-0
lines changed

‎Mac/Makefile.in

Copy file name to clipboardExpand all lines: Mac/Makefile.in
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ install_IDLE:
259259
rm "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def~" ; \
260260
fi
261261
touch "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
262+
chmod -R ugo+rX,go-w "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
263+
chmod ugo+x "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/IDLE"
262264

263265
$(INSTALLED_PYTHONAPP): install_Python
264266

‎Mac/PythonLauncher/Makefile.in

Copy file name to clipboardExpand all lines: Mac/PythonLauncher/Makefile.in
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ install: Python\ Launcher.app
2727
-test -d "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app" && rm -r "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app"
2828
/bin/cp -r "Python Launcher.app" "$(DESTDIR)$(PYTHONAPPSDIR)"
2929
touch "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app"
30+
chmod -R ugo+rX,go-w "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app"
31+
chmod ugo+x "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app/Contents/MacOS/Python Launcher"
3032

3133
clean:
3234
rm -f *.o "Python Launcher"
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Ensure that IDLE.app and Python Launcher.app are installed with appropriate permissions on macOS builds.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.