]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix macOS installer build typos
authorNed Deily <nad@python.org>
Thu, 25 Jun 2020 07:41:19 +0000 (03:41 -0400)
committerNed Deily <nad@python.org>
Thu, 25 Jun 2020 07:47:27 +0000 (03:47 -0400)
Mac/BuildScript/README.rst
Mac/BuildScript/build-installer.py

index 2a7a9c00ee4701ad52157475c8a8cd9aea764283..94a6bb28cadfa5cbadbb0178b8d5e8ca5fc20d9d 100644 (file)
@@ -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)::
index b4d9f4d68a8abeaa5696b7082bb1ecfa334b2e5f..4fab4882efaeb63b6ba6bde926c3a490f8598970 100755 (executable)
@@ -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(''):