Commits

Armin Rigo  committed a53ca6d

Remove external reference to codespeak

  • Participants
  • Parent commits 9439564

Comments (0)

Files changed (2)

File pypy/doc/_ref.txt

+.. _`ctypes_configure/doc/sample.py`: https://bitbucket.org/pypy/pypy/src/default/ctypes_configure/doc/sample.py
 .. _`demo/`: https://bitbucket.org/pypy/pypy/src/default/demo/
 .. _`demo/pickle_coroutine.py`: https://bitbucket.org/pypy/pypy/src/default/demo/pickle_coroutine.py
 .. _`lib-python/`: https://bitbucket.org/pypy/pypy/src/default/lib-python/

File pypy/doc/ctypes-implementation.rst

 ctypes configure
 =================
 
-We also released `ctypes-configure`_, which is an experimental package trying to
-approach the portability issues of ctypes-based code.
+We also released ``ctypes-configure``, which is an experimental package
+trying to approach the portability issues of ctypes-based code.
 
-.. _`ctypes-configure`: http://codespeak.net/~fijal/configure.html
+idea
+----
+
+One of ctypes problems is that ctypes programs are usually not very
+platform-independent. We created ctypes_configure, which invokes c
+compiler (via distutils) for various platform-dependent details like
+exact sizes of types (for example size_t), ``#defines``, exact outline of
+structures etc. It replaces in this regard code generator (h2py).
+
+installation
+------------
+
+``easy_install ctypes_configure``
+
+usage
+-----
+
+`ctypes_configure/doc/sample.py`_ explains in details how to use it.
+
+
+.. include:: _ref.txt