[pypy-commit] cffi default: Update the doc to mention that it also mostly works on PyPy.
arigo
noreply at buildbot.pypy.org
Mon Aug 13 00:28:37 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r839:591697b59ba6
Date: 2012-08-13 00:28 +0200
http://bitbucket.org/cffi/cffi/changeset/591697b59ba6/
Log: Update the doc to mention that it also mostly works on PyPy.
diff --git a/doc/source/index.rst b/doc/source/index.rst
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -28,9 +28,8 @@
but all C89 should be, including macros (and including macro "abuses",
which you can `manually wrap`_ in saner-looking C functions).
-* We attempt to support both PyPy and CPython (although PyPy support is not
- complete yet) with a reasonable path for other Python implementations like
- IronPython and Jython.
+* We attempt to support both PyPy and CPython, with a reasonable path
+ for other Python implementations like IronPython and Jython.
* Note that this project is **not** about embedding executable C code in
Python, unlike `Weave`_. This is about calling existing C libraries
@@ -63,20 +62,20 @@
platform as well as on Win32. There are some Windows-specific issues
left.
-It currently supports CPython 2.6, 2.7 and 3.x (tested with 3.3,
-seems to work on 3.2 too).
-Support for PyPy is coming soon. (In fact, the authors of
-CFFI are also on the PyPy team; we plan to make it the first (and
-fastest) choice for PyPy.)
+It supports CPython 2.6; 2.7; 3.x (tested with 3.3, seems to work on 3.2
+too); and PyPy trunk (not 1.9). (Its speed is comparable to ctypes on
+CPython, and faster on PyPy.)
Requirements:
-* CPython 2.6 or 2.7 or 3.x (you need ``python-dev``)
+* CPython 2.6 or 2.7 or 3.x, or PyPy trunk
+
+* on CPython you need to build the C extension module, so you need
+ ``python-dev`` and ``libffi-dev`` (for Windows, libffi is included
+ with CFFI).
* pycparser 2.06 or 2.07: http://code.google.com/p/pycparser/
-* libffi (you need ``libffi-dev``); for Windows, it is included with CFFI.
-
* a C compiler is required to use CFFI during development, but not to run
correctly-installed programs that use CFFI.
More information about the pypy-commit
mailing list