blob: 52d8b807befe7ba70690ee3ba737bb5034b180e3 [file] [log] [blame]
Ned Deilycd797f92015-05-08 14:42:32 -07001{\rtf1\ansi\ansicpg1252\cocoartf1347\cocoasubrtf570
Ned Deily5d3febf2014-12-13 00:17:46 -08002{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 CourierNewPSMT;}
3{\colortbl;\red255\green255\blue255;}
4\margl1440\margr1440\vieww13380\viewh14600\viewkind0
5\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
6
7\f0\fs24 \cf0 This package will install Python $FULL_VERSION for Mac OS X $MACOSX_DEPLOYMENT_TARGET for the following architecture(s): $ARCHITECTURES.\
8\
9\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
10
11\b \cf0 \ul \ulc0 Which installer variant should I use?
12\b0 \ulnone \
13\
14Python.org provides two installer variants for download: one that installs a
15\i 64-bit/32-bit Intel
16\i0 Python capable of running on
17\i Mac OS X 10.6 (Snow Leopard)
18\i0 or later; and one that installs a
19\i 32-bit-only (Intel and PPC)
20\i0 Python capable of running on
21\i Mac OS X 10.5 (Leopard)
22\i0 or later. This ReadMe was installed with the
23\i $MACOSX_DEPLOYMENT_TARGET
24\i0 variant. Unless you are installing to an 10.5 system or you need to build applications that can run on 10.5 systems, use the 10.6 variant if possible. There are some additional operating system functions that are supported starting with 10.6 and you may see better performance using 64-bit mode. By default, Python will automatically run in 64-bit mode if your system supports it. Also see
25\i Certificate verification and OpenSSL
Ned Deilycd797f92015-05-08 14:42:32 -070026\i0 below. The Pythons installed by these installers are built with private copies of some third-party libraries not included with or newer than those in OS X itself. The list of these libraries varies by installer variant and is included at the end of the License.rtf file.
27\b \ul \ulc0 \
Ned Deily5d3febf2014-12-13 00:17:46 -080028\
29Update your version of Tcl/Tk to use IDLE or other Tk applications
30\b0 \ulnone \
31\
32To use IDLE or other programs that use the Tkinter graphical user interface toolkit, you need to install a newer third-party version of the
33\i Tcl/Tk
34\i0 frameworks. Visit {\field{\*\fldinst{HYPERLINK "https://www.python.org/download/mac/tcltk/"}}{\fldrslt https://www.python.org/download/mac/tcltk/}} for current information about supported and recommended versions of
35\i Tcl/Tk
36\i0 for this version of Python and of Mac OS X.\
37
38\b \ul \
39Installing on OS X 10.8 (Mountain Lion) or later systems\
40\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
41\cf0 \ulnone [CHANGED for Python 3.4.2]
42\b0 \
43\
44As of Python 3.4.2, installer packages from python.org are now compatible with the Gatekeeper security feature introduced in OS X 10.8. Downloaded packages can now be directly installed by double-clicking with the default system security settings. Python.org installer packages for OS X are signed with the Developer ID of the builder, as identified on {\field{\*\fldinst{HYPERLINK "https://www.python.org/downloads/"}}{\fldrslt the download page}} for this release. To inspect the digital signature of the package, click on the lock icon in the upper right corner of the
45\i Install Python
46\i0 installer window. Refer to Apple\'92s support pages for {\field{\*\fldinst{HYPERLINK "http://support.apple.com/kb/ht5290"}}{\fldrslt more information on Gatekeeper}}.\
47\
48\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
49
50\b \cf0 \ul Simplified web-based installs\
51\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
52\cf0 \ulnone [NEW for Python 3.4.2]
53\b0 \
54\
55With the change to the newer flat format installer package, the download file now has a
56\f1 .pkg
57\f0 extension as it is no longer necessary to embed the installer within a disk image (
58\f1 .dmg
59\f0 ) container. If you download the Python installer through a web browser, the OS X installer application may open automatically to allow you to perform the install. If your browser settings do not allow automatic open, double click on the downloaded installer file.\
60\
61\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
62
63\b \cf0 \ul New Installation Options and Defaults\
64\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
65\cf0 \ulnone [NEW for Python 3.4.0]
66\b0 \
67\
68The Python installer now includes an option to automatically install or upgrade
69\f1 pip
70\f0 , a tool for installing and managing Python packages. This option is enabled by default and no Internet access is required. If you do not want the installer to do this, select the
71\i Customize
72\i0 option at the
73\i Installation Type
74\i0 step and uncheck the
75\i Install or ugprade pip
76\i0 option.\
77\
78To make it easier to use scripts installed by third-party Python packages, with
79\f1 pip
80\f0 or by other means, the
81\i Shell profile updater
82\i0 option is now enabled by default, as has been the case with Python 2.7.x installers. You can also turn this option off by selecting
83\i Customize
84\i0 and unchecking the
85\i Shell profile updater
86\i0 option. You can also update your shell profile later by launching the
87\i Update Shell Profile
88\i0 command found in the
89\f1 /Applications/Python $VERSION
90\f0 folder. You may need to start a new terminal window for the changes to take effect.\
91\
92For other changes in this release, see the Release Notes link for this release at {\field{\*\fldinst{HYPERLINK "https://www.python.org/downloads/"}}{\fldrslt https://www.python.org/downloads/}}.\
93\
94\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
95
96\b \cf0 \ul Certificate verification and OpenSSL\
97\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
98\cf0 \ulnone [CHANGED for Python 3.4.3]
99\b0 \
100\
101Python 3.4.3 includes a number of network security enhancements that have been approved for inclusion in Python 3.4 maintenance releases. {\field{\*\fldinst{HYPERLINK "https://www.python.org/dev/peps/pep-0476/"}}{\fldrslt PEP 476}} changes several standard library modules, like
102\i httplib
103\i0 ,
104\i urllib
105\i0 , and
106\i xmlrpclib
107\i0 , to by default verify certificates presented by servers over secure (TLS) connections. The verification is performed by the OpenSSL libraries that Python is linked to. Prior to 3.4.3, the python.org installers dynamically linked with Apple-supplied OpenSSL libraries shipped with OS X. OS X provides a multiple level security framework that stores trust certificates in system and user keychains managed by the
108\i Keychain Access
109\i0 application and the
110\i security
111\i0 command line utility.\
112\
113For OS X 10.5, Apple provides
114\i OpenSSL 0.9.7
115\i0 libraries. This version of Apple's OpenSSL
116\b does not
117\b0 use the certificates from the system security framework, even when used on newer versions of OS X. Instead it consults a traditional OpenSSL concatenated certificate file (
118\i cafile
119\i0 ) or certificate directory (
120\i capath
121\i0 ), located in
122\f1 /System/Library/OpenSSL
123\f0 . These directories are typically empty and not managed by OS X; you must manage them yourself or supply your own SSL contexts. OpenSSL 0.9.7 is obsolete by current security standards, lacking a number of important features found in later versions. Among the problems this causes is the inability to verify higher-security certificates now used by python.org services, including
124\i t{\field{\*\fldinst{HYPERLINK "https://pypi.python.org/pypi"}}{\fldrslt he Python Package Index, PyPI}}
125\i0 . To solve this problem, as of 3.4.3 the
126\i 10.5+ 32-bit-only python.org variant
127\i0 is linked with a private copy of
Ned Deilycd797f92015-05-08 14:42:32 -0700128\i OpenSSL 1.0
Ned Deily5d3febf2014-12-13 00:17:46 -0800129\i0 ; it consults the same default certificate directory,
130\f1 /System/Library/OpenSSL
131\f0 . As before, it is still necessary to manage certificates yourself when you use this Python variant and, with certificate verification now enabled by default, you may now need to take additional steps to ensure your Python programs have access to CA certificates you trust. If you use this Python variant to build standalone applications with third-party tools like {\field{\*\fldinst{HYPERLINK "https://pypi.python.org/pypi/py2app/"}}{\fldrslt
132\f1 py2app}}, you may now need to bundle CA certificates in them or otherwise supply non-default SSL contexts.\
133\
134For OS X 10.6+, Apple also provides
135\i OpenSSL
136\i0
137\i 0.9.8 libraries
138\i0 . Apple's 0.9.8 version includes an important additional feature: if a certificate cannot be verified using the manually administered certificates in
139\f1 /System/Library/OpenSSL
140\f0 , the certificates managed by the system security framework In the user and system keychains are also consulted (using Apple private APIs). For this reason, for 3.4.3 the
141\i 64-bit/32-bit 10.6+ python.org variant
142\i0 continues to be dynamically linked with Apple's OpenSSL 0.9.8 since it was felt that the loss of the system-provided certificates and management tools outweighs the additional security features provided by newer versions of OpenSSL. This will likely change in future releases of the python.org installers as Apple has deprecated use of the system-supplied OpenSSL libraries. If you do need features from newer versions of OpenSSL, there are third-party OpenSSL wrapper packages available through
143\i PyPI
144\i0 .\
145\
146The bundled
147\f1 pip
148\f0 included with 3.4.3 has its own default certificate store for verifying download connections.\
149\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
150
151\b \cf0 \ul \
152Python 3 and Python 2 Co-existence\
153
154\b0 \ulnone \
155Python.org Python $VERSION and 2.7.x versions can both be installed on your system and will not conflict. Command names for Python 3 contain a 3 in them,
156\f1 python3
157\f0 (or
158\f1 python$VERSION
159\f0 ),
160\f1 idle3
161\f0 (or i
162\f1 dle$VERSION
163\f0 ),
164\f1 pip3
165\f0 (or
166\f1 pip$VERSION
167\f0 ), etc. Python 2.7 command names contain a 2 or no digit:
168\f1 python2
169\f0 (or
170\f1 python2.7
171\f0 or
172\f1 python
173\f0 ),
174\f1 idle2
175\f0 (or
176\f1 idle2.7
177\f0 or
178\f1 idle
179\f0 ), etc.\
180}