# Interface to the Expat XML parser # # Expat was written by James Clark and is now maintained by a # group of developers on SourceForge; see www.libexpat.org for # more information. The pyexpat module was written by Paul # Prescod after a prototype by Jack Jansen. The Expat source # is included in Modules/expat/. Usage of a system # shared libexpat.so/expat.dll is not advised. # # More information on Expat can be found at www.libexpat.org. # if sys.byteorder == "little": xmlbo = "1234" else: xmlbo = "4321" expatinc = os.path.join(os.getcwd(), srcdir, 'Modules', 'expat') define_macros = [ ('XML_NS', '1'), ('XML_DTD', '1'), ('BYTEORDER', xmlbo), ('XML_CONTEXT_BYTES','1024'), ]