The PyXML package contains a validating XML parser, an implementation of the SAX and DOM programming interfaces, an interface to the Expat parser, and a C helper module that can speed up xmllib.py by a factor of five. This is useful for validating, parsing and manipulating XML files using Python programs.
Download (HTTP): http://downloads.sourceforge.net/pyxml/PyXML-0.8.4.tar.gz
Download (FTP): ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/PyXML-0.8.4.tar.gz
Download MD5 sum: 1f7655050cebbb664db976405fdba209
Download size: 734 KB
Estimated disk space required: 14.6 MB
Estimated build time: less than 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/pyxml
Install PyXML by running the following commands:
python setup.py build
Now, as the root user:
python setup.py install && install -v -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 && install -v -m755 -d /usr/share/doc/PyXML-0.8.4 && cp -v -R doc demo test /usr/share/doc/PyXML-0.8.4 && install -v -m644 README* /usr/share/doc/PyXML-0.8.4
To run the regression tests, the package must first be installed. Then, as an unprivileged user, issue the following commands:
cd test && python regrtest.py && cd ..
python setup.py build: This command copies the *.py files to a staging area and compiles the C extensions.
python setup.py install: This command installs the package.
Last updated on 2007-01-18 13:38:19 -0600