summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2020-04-22 08:27:13 (GMT)
committerGitHub <noreply@github.com>2020-04-22 08:27:13 (GMT)
commitbcc136ba892e62078a67ad0ca0b34072ec9c88aa (patch)
treebe5e0c898ce410494d61425db9f42b44dc8bbb54 /Mac
parentb310700976524b4b99ee319c947ca40468716fc9 (diff)
downloadcpython-bcc136ba892e62078a67ad0ca0b34072ec9c88aa.zip
cpython-bcc136ba892e62078a67ad0ca0b34072ec9c88aa.tar.gz
cpython-bcc136ba892e62078a67ad0ca0b34072ec9c88aa.tar.bz2
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.
Diffstat (limited to 'Mac')
-rwxr-xr-xMac/BuildScript/build-installer.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index 956d944..a10601b 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())