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 a 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.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 function compiler.ModuleCompier.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

History Node

0.10.1

History Node

0.10.0

History Node

0.9.0

This version
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.8.2.win-amd64-py2.7.exe (275.3 kB) Copy SHA256 hash SHA256 Windows Installer any Mar 18, 2014
ironpycompiler-0.8.2.zip (20.2 kB) Copy SHA256 hash SHA256 Source None Mar 18, 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