[2.7] Backport macOS universal build and installer fixes from 3.6. (G… · python/cpython@ee8e4b6 (original) (raw)

18 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
1 1 Building a Python Mac OS X distribution
2 2 =======================================
3 3
4 -The ``build-install.py`` script creates Python distributions, including
4 +WARNING
5 +-------
6 +
7 +The instructions in this README are incomplete and not up-to-date.
8 +In particular, they do not explain how to create a modern flat installer
9 +package from the now obsolete bundle-format installer package produced
10 +by ``build-installer.py``.
11 +
12 +The ``build-installer.py`` script creates Python distributions, including
5 13 certain third-party libraries as necessary. It builds a complete
6 14 framework-based Python out-of-tree, installs it in a funny place with
7 15 $DESTROOT, massages that installation to remove .pyc files and such, creates
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
1 +{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf200
2 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 LucidaGrande-Bold;\f2\fnil\fcharset0 LucidaGrande;
3 +\f3\fnil\fcharset0 Monaco;}
4 +{\colortbl;\red255\green255\blue255;}
5 +{\*\expandedcolortbl;;}
6 +\margl1440\margr1440\vieww10540\viewh8400\viewkind0
7 +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
8 +
9 +\f0\fs28 \cf0 Congratulations!
10 +\fs24
11 +\f1\b\fs28 Python FULLVERSIONformacOSFULL_VERSION for macOS FULLVERSIONformacOSMACOSX_DEPLOYMENT_TARGET
12 +\f2\b0 was successfully installed.
13 +\fs24 \
14 +\
15 +One more thing: to verify the identity of secure network connections, this Python needs a set of SSL root certificates. You can download and install a current curated set from {\field{\*\fldinst{HYPERLINK "https://pypi.org/project/certifi/"}}{\\fldrslt the Certifi project}} by double-clicking on the
16 +\f3 Install Certificates
17 +\f2 icon in {\field{\*\fldinst{HYPERLINK "file://localhost/Applications/Python%20$VERSION/"}}{\fldrslt the Finder window}}. See {\field{\*\fldinst{HYPERLINK "file://localhost/Applications/Python%20$VERSION/ReadMe.rtf"}}{\fldrslt the
18 +\f3 ReadMe
19 +\f2 file}} for more information.\
20 +}