could both of you try it and give feedback ?
I tried it both from a CVS checkout and
from libxml2-python-2.4.28.tar.gz.
It builds fine, except for 2 missing exports
in libxslt.def.src:
- xsltResolveStylesheetAttributeSet
- xsltSaveResultToString
Also, I noticed that the attribs.py test crashed
because of the MERGED_MODULE mode (I don't understand
exactly why, though). In any case it is not
be necessary on windows. Attached is the patch to
setup.py.in that fixes that.
The same patch also replaces '../../_bin' with '@prefix@'
and adds libexslt to the link libraries.
Next, we need to change libxsl.py to bypass
the 'dl' magic on windows. I'd suggest inserting
something like this:
if not hasattr(sys,'getdlopenflags'):
import libxml2mod
import libxsltmod
import libxml2
else:
...
at the beginning of the file.
Finally, there are still memory leaks in the tests,
but I'm not sure how to diagnose those. Any hint?
tstxpath.py
Memory leak 8 bytes
xpathext.py
Memory leak 8 bytes
xpathret.py
Memory leak 4 bytes
-sbi
Attachment:
setup.py.in.patch
Description: Binary data