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 cb1bf89

Browse filesBrowse files
jmrootned-deily
andauthored
gh-111015: Install IDLE.app and Python Launcher.app on macOS with correct permissions (gh-111016)
Co-authored-by: Ned Deily <nad@python.org>
1 parent 3156d19 commit cb1bf89
Copy full SHA for cb1bf89

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
@@ -257,6 +257,8 @@ install_IDLE:
257257
rm "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def~" ; \
258258
fi
259259
touch "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
260+
chmod -R ugo+rX,go-w "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
261+
chmod ugo+x "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/IDLE"
260262

261263
$(INSTALLED_PYTHONAPP): install_Python
262264

‎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.