--- Ft/Lib/DistExt/BuildDocs.py +++ Ft/Lib/DistExt/BuildDocs.py @@ -18,6 +18,10 @@ from distutils.core import Command, DEBUG from distutils.errors import * +import xml +if hasattr(xml, "use_pyxml"): + xml.use_pyxml() + from Ft import GetConfigVar from Ft.Lib import Uri, ImportUtil from Ft.Lib.DistExt import Structures --- Ft/Lib/DistExt/Util.py +++ Ft/Lib/DistExt/Util.py @@ -4,6 +4,9 @@ import sys from distutils import sysconfig, util from distutils.errors import DistutilsPlatformError +import xml +if hasattr(xml, "use_pyxml"): + xml.use_pyxml() from xml.dom import pulldom from xml.sax import make_parser --- Ft/Xml/__init__.py +++ Ft/Xml/__init__.py @@ -170,6 +170,9 @@ import Ft.Xml.XUpdate return XUpdate.ApplyXupdate(*args, **kw_args) +import xml +if hasattr(xml, "use_pyxml"): + xml.use_pyxml() from distutils import version pyxml_required = version.StrictVersion('0.8.0')