Author: Stefano Rivera <stef...@rivera.za.net>
Branch: split-verify
Changeset: r1371:d18e79b97f2e
Date: 2013-10-07 01:58 +0200
http://bitbucket.org/cffi/cffi/changeset/d18e79b97f2e/

Log:    Bootstrapping documentation

diff --git a/doc/source/index.rst b/doc/source/index.rst
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -355,6 +355,21 @@
 for more details about the ``verifier`` object.
 
 
+Bootstrapping CFFI
+------------------
+
+Your ``setup.py`` now needs CFFI to be importable at build time.
+You can let tell ``setuptools`` to download it before you import
+anything from CFFI::
+
+  from setuptools import setup, Distribution
+
+  Distribution(attrs=dict(setup_requires=['cffi']))
+
+  from cffi.packaging import FFIExtension, build_ext
+  ...
+
+
 Cleaning up the __pycache__ directory
 -------------------------------------
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to