|
62 | 62 |
|
63 | 63 | 10gen provides pre-built egg packages for Apple provided Python versions on
|
64 | 64 | Snow Leopard (2.5, 2.6) and Lion (2.5, 2.6, 2.7). If you want to install
|
65 |
| -PyMongo for other Python versions you may have to install the following to |
66 |
| -build the C extensions: |
| 65 | +PyMongo for other Python versions (or from source) you will have to install |
| 66 | +the following to build the C extensions: |
67 | 67 |
|
68 | 68 | **Snow Leopard** - Xcode 3 with 'UNIX Development Support'.
|
69 | 69 |
|
70 |
| -**Snow Leopard Xcode 4 Users**: The Python versions shipped with OSX 10.6.x |
| 70 | +**Snow Leopard Xcode 4**: The Python versions shipped with OSX 10.6.x |
71 | 71 | are universal binaries. They support i386, PPC, and (in the case of python2.6)
|
72 |
| -x86_64. Since Xcode 4 removed support for PPC the distutils version shipped |
73 |
| -with Apple's builds of Python will fail to build the C extensions if you have |
74 |
| -Xcode 4 installed. This issue may also affect builds of Python downloaded |
75 |
| -from python.org. There is a workaround:: |
| 72 | +x86_64. Xcode 4 removed support for PPC, causing the distutils version shipped |
| 73 | +with Apple's builds of Python to fail to build the C extensions if you have |
| 74 | +Xcode 4 installed. There is a workaround:: |
76 | 75 |
|
77 |
| - # For Apple-supplied Python2.6 (installed at /usr/bin/python2.6) |
| 76 | + # For Apple-supplied Python2.6 (installed at /usr/bin/python2.6) and |
| 77 | + # some builds from python.org |
78 | 78 | $ env ARCHFLAGS='-arch i386 -arch x86_64' python -m easy_install pymongo
|
79 | 79 |
|
80 |
| - # For 32-bit-only Python (/usr/bin/python2.5 and some builds |
81 |
| - # from python.org) |
| 80 | + # For 32-bit-only Python (/usr/bin/python2.5) and some builds |
| 81 | + # from python.org |
82 | 82 | $ env ARCHFLAGS='-arch i386' python -m easy_install pymongo
|
83 | 83 |
|
84 | 84 | See `http://bugs.python.org/issue11623 <http://bugs.python.org/issue11623>`_
|
|
0 commit comments