Distributing IronPython Packages: distutils, site-packages and PEP 370
The basic way of distributing and installing Python libraries (packages), and even scripts and applications, is with distutils which is part of the Python standard library. A Python package consists of various source files and a setup.py script, which when executed at the command line installs the Python package into your site-packages folder. The typical invocation of a setup script is: python setup.py install site-packages is a directory created as part of a standard Python installation specifically to hold user installed Python packages (glossing over the difference between user and system installed packages for the purposes of this discussion). Unfortunately distutils doesn't work with IronPython, for at least two reasons. The second reason, the most easily dealt with, is that attempting to install a package with IronPython causes distutils to attempt to bytecode-compile the Python files; something destined to fail with IronPython. C:\compile\test\foo-1.0>i...