Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eb698da

Browse files
committed
Issue #11079: The /Applications/Python x.x folder created by the Mac
OS X installers no longer includes an Extras directory. The Tools directory is now installed in the framework under share/doc.
1 parent fdded56 commit eb698da

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

Mac/BuildScript/resources/ReadMe.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ of Tcl/Tk for this version of Python and Mac OS X.
2424
*******************
2525

2626
The installer puts applications, an "Update Shell Profile" command,
27-
and an Extras folder containing demo programs and tools into the
27+
and a link to the optionally installed Python Documentation into the
2828
"Python $VERSION" subfolder of the system Applications folder,
2929
and puts the underlying machinery into the folder
3030
$PYTHONFRAMEWORKINSTALLDIR. It can

Mac/Extras.ReadMe.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

Mac/Makefile.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ install_IDLE:
177177

178178
$(INSTALLED_PYTHONAPP): install_Python
179179

180-
installextras: $(srcdir)/Extras.ReadMe.txt $(srcdir)/Extras.install.py
181-
$(INSTALL) -d "$(DESTDIR)$(PYTHONAPPSDIR)/Extras"
182-
$(INSTALL) $(srcdir)/Extras.ReadMe.txt "$(DESTDIR)$(PYTHONAPPSDIR)/Extras/ReadMe.txt"
180+
installextras: $(srcdir)/Extras.install.py
181+
$(INSTALL) -d "$(DESTDIR)$(prefix)/share/doc/python$(VERSION)/examples"
183182
$(RUNSHARED) $(BUILDPYTHON) $(srcdir)/Extras.install.py $(srcdir)/../Tools \
184-
"$(DESTDIR)$(PYTHONAPPSDIR)/Extras/Tools"
183+
"$(DESTDIR)$(prefix)/share/doc/python$(VERSION)/examples/Tools" ; \
184+
chmod -R ugo+rX,go-w "$(DESTDIR)$(prefix)/share/doc/python$(VERSION)/examples/Tools"
185185

186186

187187
checkapplepython: $(srcdir)/Tools/fixapplepython23.py

Misc/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ Library
2929
Build
3030
-----
3131

32+
- Issue #11079: The /Applications/Python x.x folder created by the Mac
33+
OS X installers now includes a link to the installed documentation
34+
and no longer includes an Extras directory. The Tools directory is
35+
now installed in the framework under share/doc.
36+
3237
- Issue #11121: Fix building with --enable-shared.
3338

3439
Tests

0 commit comments

Comments
 (0)