http://mail.python.org/pipermail/xml-sig/2003-March/009294.html

python2.2 setup.py build

mkdir ~/lib

python2.2 setup.py install --prefix=$HOME/lib

If you get dist tools module fail error it is because you are using python 1 instead of 2! :) If you are following the SAX guide in the XML-SIG Howto: http://pyxml.sourceforge.net/topics/howto/node12.html And you needed to do a user installation, you scripts will have to be adjusted like so:

#!/usr/bin/env python2

import sys

sys.path.insert(0 ,  "/home/hendry/lib/lib/python2.2/site-packages/_xmlplus/")

from sax import saxutils

from xml.sax import make_parser

from sax.handler import feature_namespaces
Feedback

Powered by Vanilla PHP feedback form