https://github.com/python/cpython/commit/de84a64d0d5caa981104800b34e55312e04313dc
commit: de84a64d0d5caa981104800b34e55312e04313dc
branch: 3.13
author: Ned Deily <[email protected]>
committer: Yhg1s <[email protected]>
date: 2026-10-25T06:36:34-07:00
summary:

[3.13] gh-160547: Fix outdated details in the macOS build READMEs (#160548) 
(#160555)

Co-authored-by: Davi de Jesus <[email protected]>

files:
M Mac/BuildScript/README.rst
M Mac/README.rst

diff --git a/Mac/BuildScript/README.rst b/Mac/BuildScript/README.rst
index 54341a81c26743f..ad929d91d82cd69 100644
--- a/Mac/BuildScript/README.rst
+++ b/Mac/BuildScript/README.rst
@@ -1,7 +1,7 @@
 Building a Python Mac OS X distribution
 =======================================
 
-The ``build-install.py`` script creates Python distributions, including
+The ``build-installer.py`` script creates Python distributions, including
 certain third-party libraries as necessary.  It builds a complete
 framework-based Python out-of-tree, installs it in a funny place with
 $DESTROOT, massages that installation to remove .pyc files and such, creates
@@ -12,7 +12,7 @@ package. This format is deprecated and is no longer supported 
by modern
 macOS systems; it is usable on macOS 10.6 and earlier systems.
 To be usable on newer versions of macOS, the bits in the bundle package
 must be assembled in a macOS flat installer package, using current
-versions of the pkgbuild and productbuild utilities. To pass macoS
+versions of the pkgbuild and productbuild utilities. To pass macOS
 Gatekeeper download quarantine, the final package must be signed
 with a valid Apple Developer ID certificate using productsign.
 Starting with macOS 10.15 Catalina, Gatekeeper now also requires
@@ -28,7 +28,7 @@ A goal of PSF-provided (python.org) Python binaries for macOS 
is to
 support a wide-range of operating system releases with one set of
 binaries.  Currently, the oldest release supported by python.org
 binaries is macOS 10.9; it should still be possible to build Python and
-Python installers on older versions of macOS but we not regularly
+Python installers on older versions of macOS but we do not regularly
 test on those systems nor provide binaries for them.
 
 Prior to Python 3.9.1, no Python releases supported building on a
diff --git a/Mac/README.rst b/Mac/README.rst
index 8a6e52725615aae..487f1a9c78065af 100644
--- a/Mac/README.rst
+++ b/Mac/README.rst
@@ -97,8 +97,8 @@ machines.  In macOS 10.5 support was extended to 64-bit Intel 
and 64-bit PPC
 architectures.  It is possible to build Python with various combinations
 of architectures depending on the build tools and macOS version in use.
 Note that PPC support was removed in macOS 10.7 and 32-bit Intel support
-was removed in macOS 10.15.  So currently as of macOS 10.15, macOS only
-supports one execution architecture, 64-bit Intel (``x86_64``).
+was removed in macOS 10.15.  macOS 11 added support for Apple Silicon
+(``arm64``).
 
 2. How do I build a universal binary
 ------------------------------------
@@ -173,8 +173,8 @@ following combinations of SDKs and universal-archs flavors 
are available:
   * 11.0 and later SDKs support ``universal2``
 
 The makefile for a framework build will also install ``python3.x-32``
-binaries when the universal architecture includes at least one 32-bit
-architecture (that is, for all flavors but ``64-bit`` and ``intel-64``).
+binaries when the universal architecture includes both 32-bit and 64-bit
+architectures (that is, for the ``all``, ``intel`` and ``3-way`` flavors).
 It will also install ``python3.x-intel64`` binaries in the ``universal2``
 case to allow easy execution with the Rosetta 2 Intel emulator on Apple
 Silicon Macs.
@@ -225,7 +225,7 @@ While it is technically possible to create a .app without 
using frameworks you
 will have to do the work yourself if you really want this.
 
 A second reason for using frameworks is that they put Python-related items in
-only two places: "/Library/Framework/Python.framework" and
+only two places: "/Library/Frameworks/Python.framework" and
 "/Applications/Python <VERSION>" where ``<VERSION>`` can be e.g. "3.8",
 "2.7", etc.  This simplifies matters for users installing
 Python from a binary distribution if they want to get rid of it again. 
Moreover,
@@ -275,7 +275,7 @@ in the sequence
 
  3. make install
 
-This sequence will put the framework in 
``/Library/Framework/Python.framework``,
+This sequence will put the framework in 
``/Library/Frameworks/Python.framework``,
 the applications in ``/Applications/Python <VERSION>`` and the unix tools in
 ``/usr/local/bin``.
 
@@ -283,7 +283,7 @@ Installing in another place, for instance 
``$HOME/Library/Frameworks`` if you
 have no admin privileges on your machine, is possible. This can be accomplished
 by configuring with ``--enable-framework=$HOME/Library/Frameworks``.
 The other two directories will then also be installed in your home directory,
-at ``$HOME/Applications/Python-<VERSION>`` and ``$HOME/bin``.
+at ``$HOME/Applications/Python <VERSION>`` and ``$HOME/bin``.
 
 If you want to install some part, but not all, read the main Makefile. The
 frameworkinstall is composed of a couple of sub-targets that install the
@@ -326,11 +326,8 @@ documentation set for this release for inclusion in the 
framework.  The
 installer package will create links to the documentation for use by IDLE,
 pydoc, shell users, and Finder user.
 
-The script will build a universal binary so you'll therefore have to run this
-script on macOS 10.4 or later and with Xcode 2.1 or later installed.
-However, the Python build process itself has several build dependencies not
-available out of the box with macOS 10.4 so you may have to install
-additional software beyond what is provided with Xcode 2.
+The script will build a universal binary.  See ``Mac/BuildScript/README.rst``
+for the recommended build environment.
 It should be possible to use SDKs and/or older
 versions of Xcode to build installers that are compatible with older systems
 on a newer system but this may not be completely foolproof so the resulting

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to