Pyro on IronPython

IronPython is a Python implementation on the Microsoft .NET platform. As with Jython (Python on the Java VM), there are some compatibility issues with the 'default' CPython implementation that hinder a straightforward use of Pyro in this particular environment.

Setting it up

  1. download and install IronPython, version 1.1 or newer. Current version is 2.0.1

  2. Make sure to download the complete version (including 'standard library') or obtain the Python standard library from somewhere else and install it on the IronPython search path by adding these two lines to the site.py file in the IronPython lib directory:

    import sys
    sys.path.append(r"c:\python24\lib")     # or wherever you've installed python 2.4 to
  3. download and install Pyro somewhere.
  4. place Pyro on the IronPython search path by adding the following line to the site.py file:

    sys.path.append(r"e:\projects\Pyro")   # or wherever you've installed Pyro to
  5. you can also set the IRONPYTHONPATH environment variable to point to the required libraries.

Missing builtin modules

IronPython doesn't seem to lack any builtin modules anymore as long as you installed the version with the standard library (I installed the 2.0.1 MSI installer)

Issues

Don't know. The 'simple' example works fine. Can also run a name server using ipy and query it.

PyroAndIronPython (last edited 2009-03-17 22:00:24 by IrmenDeJong)