[Python-checkins] Fix macOS installer build typos

Ned Deily webhook-mailer at python.org
Thu Jun 25 03:48:11 EDT 2020


https://github.com/python/cpython/commit/e41eced0fc7212c0739538292844ff2b8c62bc03
commit: e41eced0fc7212c0739538292844ff2b8c62bc03
branch: 3.7
author: Ned Deily <nad at python.org>
committer: Ned Deily <nad at python.org>
date: 2020-06-25T03:47:27-04:00
summary:

Fix macOS installer build typos

files:
M Mac/BuildScript/README.rst
M Mac/BuildScript/build-installer.py

diff --git a/Mac/BuildScript/README.rst b/Mac/BuildScript/README.rst
index 2a7a9c00ee470..94a6bb28cadfa 100644
--- a/Mac/BuildScript/README.rst
+++ b/Mac/BuildScript/README.rst
@@ -30,7 +30,7 @@ building on a newer version of macOS that will run on older versions
 by setting MACOSX_DEPLOYMENT_TARGET. This is because the various
 Python C modules do not yet support runtime testing of macOS
 feature availability (for example, by using macOS AvailabilityMacros.h
-and weak-linking).  To build a Python that is used to be used on a
+and weak-linking).  To build a Python that is to be used on a
 range of macOS releases, always build on the oldest release to be
 supported; the necessary shared libraries for that release will
 normally also be available on later systems, with the occasional
@@ -40,7 +40,7 @@ build-installer requires Apple Developer tools, either from the
 Command Line Tools package or from a full Xcode installation.
 You should use the most recent version of either for the operating
 system version in use.  (One notable exception: on macOS 10.6,
-Snow Leopards, use Xcode 3, not Xcode 4 which was released later
+Snow Leopard, use Xcode 3, not Xcode 4 which was released later
 in the 10.6 support cycle.)
 
 1.  64-bit, x86_64, for OS X 10.9 (and later)::
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index b4d9f4d68a8ab..4fab4882efaeb 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -1328,7 +1328,6 @@ def buildPython():
         l_dict = {}
         exec(data, g_dict, l_dict)
         build_time_vars = l_dict['build_time_vars']
-    exec(data)
     vars = {}
     for k, v in build_time_vars.items():
         if type(v) == type(''):



More information about the Python-checkins mailing list