[pypy-svn] r48253 - pypy/dist/pypy/doc

antocuni at codespeak.net antocuni at codespeak.net
Fri Nov 2 16:15:45 CET 2007


Author: antocuni
Date: Fri Nov  2 16:15:44 2007
New Revision: 48253

Modified:
   pypy/dist/pypy/doc/cli-backend.txt
Log:
add instructions about how to run pythonnet



Modified: pypy/dist/pypy/doc/cli-backend.txt
==============================================================================
--- pypy/dist/pypy/doc/cli-backend.txt	(original)
+++ pypy/dist/pypy/doc/cli-backend.txt	Fri Nov  2 16:15:44 2007
@@ -430,8 +430,31 @@
 chars). By contrast, most types are fine for being returned: these
 include all primitive types, list, tuples and instances.
 
+Installing Python for .NET on Linux
+===================================
+
+With the CLI backend, you can access .NET libraries from RPython;
+programs using .NET libraries will always run when translated, but you
+might also want to test them on top of CPython.
+
+To do so, you can install `Python for .NET`_. Unfortunately, it does
+not work out of the box under Linux.
+
+To make it working, download and unpack the source package of Python
+for .NET; the only version tested with PyPy is the 1.0-rc2, but it
+might work also with others. Then, you need to create a file named
+Python.Runtime.dll.config at the root of the unpacked archive; put the
+following lines inside the file::
+
+  <configuration>
+    <dllmap dll="python24" target="libpython2.4.so.1.0" os="!windows"/>
+  </configuration>
+
+The installation should be complete now. To run Python for .NET,
+simply type ``mono python.exe``.
 
 
 .. _`Standard Ecma 335`: http://www.ecma-international.org/publications/standards/Ecma-335.htm
 .. _`flow graph`: translation.html#the-flow-model
 .. _`rtyper`: rtyper.html
+.. _`Python for .NET`: http://pythonnet.sourceforge.net/



More information about the Pypy-commit mailing list