Skip to main content

Compile IronPython scripts into a stand-alone .NET assembly.

Project description

IronPyCompiler is a library for compiling IronPython scripts requiring modules from the Python standard library (or third-party pure-Python modules) into a stand-alone .NET assembly (a DLL file or an executable), using pyc.py.

In order to compile IronPython scripts, we can use pyc.py, which is included in the IronPython distribution. However, pyc.py does not check dependecies of the scripts, which results in an incomplete .NET assembly. What is worse, the module modulefinder of IronPython does not work correctly. This is why compiling IronPython scripts is more difficult than it looks.

IronPyCompiler will solve this problem. It examines what modules your scripts require, using the module modulefinder of CPython, and compiles them with pyc.py into a stand-alone .NET assembly, calling ipy.exe.

History

v0.10.1 (2014-08-30)

  • Solved the problem that mutable default values are used.

v0.10.0 (2014-08-20)

  • New feature: Specifying the path to pyc.py.
  • A new exception for compilation errors.
  • Updated the command-line tool.
  • Deprecated some functions and methods.
  • Solved the problem that compiler.gather_ipy depends on a deprecated function.

v0.9.0 (2014-04-03)

  • New feature: Copying IronPython DLLs into the destination directory.
  • New functions for a multi-IronPython system.
  • Improved auto-detection of IronPython.
  • Updated the command-line tool.

v0.8.2 (2014-03-18)

  • Solved the problem that the Windows registry is always ignored.

v0.8.1 (2014-03-16)

  • Updated the command-line tool.

v0.8.0 (2014-03-15)

  • A new parameter of the method compiler.ModuleCompiler.call_pyc: cwd.
  • Solved the problem that .NET assemblies will be generated in the current working directory even if the destination directory is specified.

v0.7.1 (2014-03-13)

  • Revised MANIFEST.in.

v0.7.0 (2014-03-11)

  • Moved the command-line tool into the package.

v0.6.0 (2014-03-10)

  • Separated ironpycompiler and created a package.
  • Added analyze command to ipy2asm.py, the command-line tool of IronPyCompiler.

v0.5.0 (2014-03-08)

  • Enabled this module to be run as a script.

v0.4.0 (2014-03-07)

  • Added create_dll and create_exectuable.

v0.3.0 (2014-03-06)

  • Changed the arguments of __init__ and check_compilablity.

v0.2.0 (2014-03-06)

  • Started to support for multiple IronPython scripts.
  • Does not inherit from modulefinder.ModuleFinder any more.

v0.1.0 (2014-03-03)

  • The first commit.

Project details


Release history Release notifications

This version
History Node

0.10.1

History Node

0.10.0

History Node

0.9.0

History Node

0.8.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ironpycompiler-0.10.1.win-amd64-py2.7.exe (278.8 kB) Copy SHA256 hash SHA256 Windows Installer any Aug 30, 2014
ironpycompiler-0.10.1.zip (38.2 kB) Copy SHA256 hash SHA256 Source None Aug 30, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page