blob: 8e6d41e11a0e5ac529763491d7fa80c11ad0c570 [file] [log] [blame]
Ned Deily074d3912014-11-22 14:17:05 -08001{\rtf1\ansi\ansicpg1252\cocoartf1343\cocoasubrtf160
Ned Deilyaf627902014-11-14 18:57:13 -08002{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 CourierNewPSMT;}
3{\colortbl;\red255\green255\blue255;}
4\margl1440\margr1440\vieww15240\viewh15540\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\
Ned Deily62a86602014-12-09 23:45:13 -08009\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
Ned Deilyaf627902014-11-14 18:57:13 -080010
Ned Deily62a86602014-12-09 23:45:13 -080011\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
26\i0 below.
27\b \ul \
28\
29Update your version of Tcl/Tk to use IDLE or other Tk applications
Ned Deilyaf627902014-11-14 18:57:13 -080030\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\
Ned Deily62a86602014-12-09 23:45:13 -080040\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
41\cf0 \ulnone [CHANGED for Python 2.7.9]
Ned Deilyaf627902014-11-14 18:57:13 -080042\b0 \
43\
44As of Python 2.7.9, 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 the download page for this release ({\field{\*\fldinst{HYPERLINK "https://www.python.org/downloads/"}}{\fldrslt https://www.python.org/downloads/}}). 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 more information on Gatekeeper ({\field{\*\fldinst{HYPERLINK "http://support.apple.com/kb/ht5290"}}{\fldrslt http://support.apple.com/kb/ht5290}}).\
47\
Ned Deily62a86602014-12-09 23:45:13 -080048\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
Ned Deilyaf627902014-11-14 18:57:13 -080049
Ned Deily62a86602014-12-09 23:45:13 -080050\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 2.7.9]
Ned Deilyaf627902014-11-14 18:57:13 -080053\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
Ned Deily62a86602014-12-09 23:45:13 -080063\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 2.7.9]
Ned Deilyaf627902014-11-14 18:57:13 -080066\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
Ned Deily62a86602014-12-09 23:45:13 -080075\i Install or upgrade pip
Ned Deily074d3912014-11-22 14:17:05 -080076\i0 option. For other changes in this release, see the
77\i Release Notes
78\i0 link for this release at {\field{\*\fldinst{HYPERLINK "https://www.python.org/downloads/"}}{\fldrslt https://www.python.org/downloads/}}.\
Ned Deilyaf627902014-11-14 18:57:13 -080079\
Ned Deily62a86602014-12-09 23:45:13 -080080\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
Ned Deilyaf627902014-11-14 18:57:13 -080081
Ned Deily62a86602014-12-09 23:45:13 -080082\b \cf0 \ul Certificate verification and OpenSSL\
83\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
84\cf0 \ulnone [CHANGED for Python 2.7.9]
85\b0 \
86\
87Python 2.7.9 includes a number of network security enhancements that have been approved for inclusion in Python 2.7 maintenance releases. {\field{\*\fldinst{HYPERLINK "https://www.python.org/dev/peps/pep-0476/"}}{\fldrslt PEP 476}} changes several standard library modules, like
88\i httplib
89\i0 ,
90\i urllib2
91\i0 , and
92\i xmlrpclib
93\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 2.7.9, 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
94\i Keychain Access
95\i0 application and the
96\i security
97\i0 command line utility.\
98\
99For OS X 10.5, Apple provides
100\i OpenSSL 0.9.7
101\i0 libraries. This version of Apple's OpenSSL
102\b does not
103\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 (
104\i cafile
105\i0 ) or certificate directory (
106\i capath
107\i0 ), located in
108\f1 /System/Library/OpenSSL
109\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
110\i t{\field{\*\fldinst{HYPERLINK "https://pypi.python.org/pypi"}}{\fldrslt he Python Package Index, PyPI}}
111\i0 . To solve this problem, as of 2.7.9 the
112\i 10.5+ 32-bit-only python.org variant
113\i0 is linked with a private copy of
114\i OpenSSL 1.0.1j
115\i0 ; it consults the same default certificate directory,
116\f1 /System/Library/OpenSSL
117\f0 . As before, it is still necessary to manage certificates yourself when you use this Python variant and, with certification 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
118\f1 py2app}}, you may now need to bundle CA certificates in them or otherwise supply non-default SSL contexts.\
119\
120For OS X 10.6+, Apple also provides
121\i OpenSSL
122\i0
123\i 0.9.8 libraries
124\i0 . Apple's 0.9.8 version includes an important additional feature: if a certificate cannot be verified using the manually administered certificates in
125\f1 /System/Library/OpenSSL
126\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 2.7.9 the
127\i 64-bit/32-bit 10.6+ python.org variant
128\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
129\i PyPI
130\i0 .\
131\
132The bundled
133\f1 pip
134\f0 included with 2.7.9 has its own default certificate store for verifying download connections.\
135\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
136
137\b \cf0 \ul \
138Binary installer support for OS X 10.4 and 10.3.9 discontinued\
139\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
140\cf0 \ulnone [CHANGED for Python 2.7.9]
Ned Deilyaf627902014-11-14 18:57:13 -0800141\b0 \
142\
143As previously announced, binary installers for Python 2.7.9 from python.org no longer support Mac OS X 10.3.9 (Panther) and 10.4.x (Tiger) systems. These systems were last updated by Apple in 2005 and 2007. As of 2.7.9, the 32-bit-only installer supports PPC and Intel Macs running OS X 10.5 (Leopard). 10.5 was the last OS X release for PPC machines (G4 and G5). The 64-/32-bit installer configuration remains unchanged and should normally be used on OS X 10.6 (Snow Leopard) and later systems. This aligns Python 2.7.x installer configurations with those currently provided with Python 3.x. If needed, it is still possible to build Python from source for 10.3.9 and 10.4.\
144\
Ned Deily62a86602014-12-09 23:45:13 -0800145\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
Ned Deilyaf627902014-11-14 18:57:13 -0800146
Ned Deily62a86602014-12-09 23:45:13 -0800147\b \cf0 \ul Python 3 and Python 2 Co-existence\
Ned Deilyaf627902014-11-14 18:57:13 -0800148
149\b0 \ulnone \
150Python.org Python 2.7 and 3.x versions can both be installed on your system and will not conflict. Python 2.7 command names contain a 2 or no digit:
151\f1 python2
152\f0 (or
153\f1 python2.7
154\f0 or
155\f1 python
156\f0 ),
157\f1 idle2
158\f0 (or
159\f1 idle2.7
160\f0 or
161\f1 idle
162\f0 ),
163\f1 pip2
164\f0 (or
165\f1 pip2.7
166\f0 or
167\f1 pip
168\f0 ), etc. Command names for Python 3 contain a 3 in them,
169\f1 python3
170\f0 ,
171\f1 idle3
172\f0 ,
173\f1 pip3
174\f0 , etc.\
175\
176}