[Python-Dev] Sharing expat instances
Fredrik Lundh
fredrik at pythonware.com
Thu Dec 15 22:09:39 CET 2005
Trent Mick wrote:
> [Fredrik Lundh wrote]
> > can anyone with a working windows setup look at building the
> > _elementtree module for windows ?
> >
> > (see the setup.py file for build options; it wants the same defines
> > as pyexpat, plus one extra define.).
>
> C:\trentm\src\python\python\PCbuild>python
> Python 2.5a0 (#60, Dec 15 2005, 11:17:15) [MSC v.1310 32 bit (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from _elementtree import Element, ElementTree
> >>> root = Element("root")
> >>> root.append(Element("one"))
> >>> tree = ElementTree(root)
> >>> import sys
> >>> tree.write(sys.stdout)
> <root><one /></root>>>>
most excellent!
> C:\trentm\src\python\python\PCbuild>svn st
> A _elementtree.vcproj
> M pcbuild.sln
>
> Shall I checkin the build changes?
I sure won't stop you.
thanks! /F
More information about the Python-Dev
mailing list