summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMac/BuildScript/build-installer.py6
-rw-r--r--Misc/NEWS.d/next/macOS/2020-04-22-03-39-22.bpo-38329.H0a8JV.rst4
2 files changed, 4 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())
diff --git a/Misc/NEWS.d/next/macOS/2020-04-22-03-39-22.bpo-38329.H0a8JV.rst b/Misc/NEWS.d/next/macOS/2020-04-22-03-39-22.bpo-38329.H0a8JV.rst
new file mode 100644
index 0000000..0caf8a0
--- /dev/null
+++ b/Misc/NEWS.d/next/macOS/2020-04-22-03-39-22.bpo-38329.H0a8JV.rst
@@ -0,0 +1,4 @@
+python.org macOS installers now update the Current version symlink of
+/Library/Frameworks/Python.framework/Versions for 3.9 installs. Previously,
+Current was only updated for Python 2.x installs. This should make it easier
+to embed Python 3 into other macOS applications.