[Python-Dev] Sharing expat instances

Trent Mick trentm at ActiveState.com
Thu Dec 15 20:48:04 CET 2005


[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>>>>


    C:\trentm\src\python\python\PCbuild>svn st
    A      _elementtree.vcproj
    M      pcbuild.sln

Shall I checkin the build changes?


Trent

-- 
Trent Mick
TrentM at ActiveState.com


More information about the Python-Dev mailing list