Installing XML-SIG package as a user

Published: Wednesday, Dec 26, 2007 Last modified: Friday, May 24, 2024

python2.2 build

mkdir ~/lib

python2.2 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: 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