From bcc136ba892e62078a67ad0ca0b34072ec9c88aa Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Wed, 22 Apr 2020 04:27:13 -0400 Subject: bpo-38329: python.org macOS installers now update Current symlink (GH-19650) Previously, python.org macOS installers did not alter the Current version symlink in /Library/Frameworks/Python.framework/Versions when installing a version of Python 3.x, only when installing 2.x. Now that Python 2 is retired, it's time to change that. This should make it a bit easier to embed Python 3 into other macOS applications. --- Mac/BuildScript/build-installer.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Mac/BuildScript') diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index 956d94407a1..a10601bed9f 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -1309,12 +1309,6 @@ def buildPython(): os.chdir(curdir) - if PYTHON_3: - # Remove the 'Current' link, that way we don't accidentally mess - # with an already installed version of python 2 - os.unlink(os.path.join(rootDir, 'Library', 'Frameworks', - 'Python.framework', 'Versions', 'Current')) - def patchFile(inPath, outPath): data = fileContents(inPath) data = data.replace('$FULL_VERSION', getFullVersion()) -- cgit v1.3.1