3 Installing the XML Toolkit

Releases are available from http://sourceforge.net/projects/pyxml/. Windows users should download the appropriate precompiled version. Linux users can either download an RPM, or install from source. Users on other platfoms have no choice but to install from source.

To compile from source on a Unix platform, simply perform the following steps.

  1. Download the latest version of the source distribution from http://sourceforge.net/projects/pyxml. Unpack it with the following command.

    gzip -dc xml-package.tgz | tar -xvf -
    

  2. Run python setup.py install. In order to run this, you'll need to have a C compiler installed, and it should be the same one that was used to build your Python installation. On a Unix system, this operation may require superuser permissions. setup.py supports a number of different commands and options; invoke setup.py without any arguments to see a help message.

If you have difficulty installing this software, send a problem report to the XML-SIG mailing list describing the problem, or submit a bug report at http://sourceforget.net/projects/pyxml.

There are various demonstration programs in the demo/ directory of the Python/XML source distribution. You may wish to look at them to get an idea of what's possible with the XML tools, and as a source of example code.


Subsections