Compile IronPython scripts into a stand-alone .NET assembly.
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.
- Solved the problem that the Windows registry is always ignored.
- Updated the command-line tool.
- 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.
- Revised MANIFEST.in.
- Moved the command-line tool into the package.
- Separated ironpycompiler and created a package.
- Added analyze command to ipy2asm.py, the command-line tool of IronPyCompiler.
- Enabled this module to be run as a script.
- Added create_dll and create_exectuable.
- Changed the arguments of __init__ and check_compilablity.
- Started to support for multiple IronPython scripts.
- Does not inherit from modulefinder.ModuleFinder any more.
- The first commit.
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|