--- setup.py.orig 2007-10-11 15:24:20.000000000 +0200
+++ setup.py 2007-10-11 15:24:54.000000000 +0200
-os.path.join(ROOT,'include'),
# those are added in the linker search path for libraries
-os.path.join(ROOT,'lib'),
xml_files = ["libxml2-api.xml", "libxml2-python-api.xml",
-if missing("libxslt-py.c") or missing("libxslt.py"):
- if missing("xsltgenerator.py") or missing("libxslt-api.xml"):
- print "libxslt stub generator not found, libxslt not built"
- print "failed to generate stubs for libxslt, aborting ..."
- print sys.exc_type, sys.exc_value
- head = open("libxsl.py", "r")
- generated = open("libxsltclass.py", "r")
- result = open("libxslt.py", "w")
- for line in head.readlines():
- result.write(altImport(line))
- for line in generated.readlines():