Document C extension dependencies PYTHON-235

This commit is contained in:
behackett 2011-04-07 10:40:50 -07:00
parent eee66eb8c1
commit 68abd1a813
2 changed files with 16 additions and 0 deletions

View File

@ -20,6 +20,18 @@ the driver from the resulting tree::
$ cd pymongo/
$ python setup.py install
Dependencies for installing C Extensions on Unix
------------------------------------------------
10gen does not currently provide statically linked binary packages for
Unix. To build the optional C extensions you must have the GNU C compiler
(gcc) installed. Depending on your flavor of Unix (or Linux distribution)
you may also need a python-dev package that provides the necessary header
files for your version of Python. The package name may vary from distro
to distro.
Pre-built eggs are available for OSX Snow Leopard on PyPI.
.. _install-no-c:
Installing Without C Extensions

View File

@ -99,6 +99,10 @@ WARNING: %s could not
be compiled. No C extensions are essential for PyMongo to run,
although they do result in significant speed improvements.
If you are seeing this message on Linux you probably need to
install GCC and/or the Python development libraries for your
version of Python.
%s
**************************************************************
"""