Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 2.2 KB

README.md

File metadata and controls

69 lines (47 loc) · 2.2 KB

IronPython 3

Windows Build Status Linux/OSX Build Status Release Gitter chat StackExchange

Official Website

IronPython is an open-source implementation of the Python programming language which is tightly integrated with the .NET Framework. IronPython can use the .NET Framework and Python libraries, and other .NET languages can use Python code just as easily.

Comparison of IronPython vs. C# for 'Hello World'

c#:

using System;
class Hello
{
    static void Main() 
    {
        Console.WriteLine("Hello World");
    }
}

IronPython:

print("Hello World")

IronPython 3 targets Python 3, including the re-organized standard library, Unicode strings, and all of the other new features.

Installation

Builds of IronPython 3 are not yet provided.

Build

Make sure you clone the Git repository recursively (with --recurse) to clone all submodules.

On Windows machines, start a Visual Studio command prompt and type:

> make

On Unix machines, make sure Mono is installed and in the PATH, and type:

$ make

Since the main development is on Windows, Mono bugs may inadvertantly be introduced

  • please report them!

Supported Platforms

IronPython 3 targets .NET 4.5 and .NET Core 2.0.

Custom DLR

If you need to make changes to the DLR, you can point IronPython at your local DLR using set-dlr-source:

set-dlr-source ..\dlr

(Windows)

./set-dlr-source.sh ../dlr

(Unix)

After making DLR changes, commit them, update the version, and release an updated NuGet. Then, update the DlrVersion property in CurrentVersion.props.