IronPython on Mono howto

sanxiyn at gmail.com sanxiyn at gmail.com
Tue Sep 5 22:50:27 EDT 2006


Skip wrote:
For those of us who have never used IronPython or Mono, is there a
quick start document laying about somewhere?  It wasn't clear to me
where to even look.

Okay, here we go:

1. Download IronPython

Go to http://www.codeplex.com/IronPython. Click Releases tab. Click
IronPython-1.0-Bin.zip or IronPython-1.0-Src.zip. You need to agree to
the license. Read it if you haven't.

2. Download Mono

Go to http://www.mono-project.com/. Click "download now" icon
(topright). DO NOT DOWNLOAD 1.1.13, IT WON'T WORK. Download according
to your platform and install in the usual way. If you are using Debian
Unstable like me, apt-get install mono is enough. For Linux users not
covered, but using x86 architecture, I highly recommend "Linux
Installer for x86 (All distributions)" download. It's a graphical
installer, can be installed under your home directory not to distrub
package managers, and uninstalls cleanly.

3. Run (Binary case)

Unzip IronPython-1.0-Bin.zip. It unzips to IronPython-1.0 directory.
Change to it. Run "mono ipy.exe". Make sure mono --version shows the
version you installed; you may have non-working (for IronPython) 1.1.13
already installed on your system. You will see:

IronPython 1.0.60816 on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>>

4. Compile and Run (Source case)

Unzip IronPython-1.0-Src.zip. It unzips to IronPython-1.0 directory.
Change to it. Change to Src directory under it. Edit makefile.

1) Change "CSC=csc" to "CSC=gmcs".
2) Change "mkdir ..." to "mkdir -p".

Make. "Compilation succeeded". Change to the parent directory and you
will see newly compiled ipy.exe and DLLs. Run as in 3.

Seo Sanghyeon




More information about the Python-list mailing list