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

Skip to content

Commit 430d7a3

Browse files
committed
Remove obsolete fixapplepython23 script and PythonSystemFixes
installer package from the OS X Makefile for Python 3. It has never worked on Python 3 and is not needed there as pre-10.3.9 installs are no longer supported.
1 parent 7d9cf83 commit 430d7a3

3 files changed

Lines changed: 3 additions & 143 deletions

File tree

Mac/BuildScript/build-installer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def pkg_recipes():
361361
),
362362
]
363363

364-
if DEPTARGET < '10.4':
364+
if DEPTARGET < '10.4' and not PYTHON_3:
365365
result.append(
366366
dict(
367367
name="PythonSystemFixes",

Mac/Makefile.in

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,10 @@ STRIPFLAG=-s
4343
CPMAC=/Developer/Tools/CpMac
4444

4545
APPTEMPLATE=$(srcdir)/Resources/app
46-
APPSUBDIRS=MacOS Resources
46+
APPSUBDIRS=MacOS Resources
4747
compileall=$(srcdir)/../Lib/compileall.py
4848

49-
installapps: install_Python install_pythonw install_PythonLauncher install_IDLE \
50-
checkapplepython
49+
installapps: install_Python install_pythonw install_PythonLauncher install_IDLE
5150

5251
install_pythonw: pythonw
5352
$(INSTALL_PROGRAM) $(STRIPFLAG) pythonw "$(DESTDIR)$(prefix)/bin/pythonw$(VERSION)"
@@ -196,14 +195,6 @@ installextras: $(srcdir)/Extras.install.py
196195
"$(DESTDIR)$(prefix)/share/doc/python$(VERSION)/examples/Tools" ; \
197196
chmod -R ugo+rX,go-w "$(DESTDIR)$(prefix)/share/doc/python$(VERSION)/examples/Tools"
198197

199-
200-
checkapplepython: $(srcdir)/Tools/fixapplepython23.py
201-
@if ! $(RUNSHARED) $(BUILDPYTHON) $(srcdir)/Tools/fixapplepython23.py -n; then \
202-
echo "* WARNING: Apple-installed Python 2.3 will have trouble building extensions from now on."; \
203-
echo "* WARNING: Run $(srcdir)/Tools/fixapplepython23.py with \"sudo\" to fix this."; \
204-
fi
205-
206-
207198
clean:
208199
rm pythonw
209200
cd PythonLauncher && make clean

Mac/Tools/fixapplepython23.py

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

0 commit comments

Comments
 (0)