Datasheet

Getting IronPython
9
2. Read the licensing agreement, check I Accept the Terms in the License Agreement, and then
click Next. You’ll see the Custom Setup dialog box shown in Figure 1-1 where you can select
the IronPython features you want to install. At a minimum, you must install the Runtime. The
Documentation, Standard Library, and Tools features are also strongly recommended. This
book assumes that you’ve installed all the features. However, you might want to install just those
features you actually need for a production setup (you might not actually need the samples).
FIGURE 11: Choose the features you want to install.
When you perform a DLR installation, you’ll see a Do Not NGen Installed
Binaries option on the Custom Setup dialog box. Using the Native Image
Generator (NGen) can greatly improve application performance, as described
at
http://msdn.microsoft.com/en-us/magazine/cc163610.aspx. Earlier
versions of IronPython didn’t use NGen to build the libraries for you by default.
You had to use a special command line to obtain the NGen feature (
msiexec /qn
/i “IronPython.msi“ NGENDLLS=True
). The default setup for IronPython 2.6 is
to use NGen to build the libraries.
However, using NGen also binds the binaries to the local machine, which may
not be what you want when working in a dynamic environment. Consequently,
if you plan to use DLR more than you plan to use other IronPython features,
you might want to check the Do Not NGen Installed Binaries option.
3. Select the features you want to install. Click Next. You’ll see a summary dialog box that
simply states you’re ready to install IronPython.
4. Click Install. MSI will begin the installation process. At some point, you’ll see an installation
completion screen.
5. Click Finish. You should be ready to begin working with IronPython at this point.
548592c01.indd 9 2/24/10 12:47:11 PM