问题描述
我需要移植一些code,它在很大程度上依赖于LXML从CPython的应用程序IronPython的。
I need to port some code that relies heavily on lxml from a CPython application to IronPython.
LXML很Python的,我想继续使用它的IronPython下,但是这取决于和的libxslt libxml2的,这是C扩展。
lxml is very Pythonic and I would like to keep using it under IronPython, but it depends on libxslt and libxml2, which are C extensions.
有谁知道一个变通方法,让IronPython的下LXML或版本LXML那没有这些C-扩展的依赖?
Does anyone know of a workaround to allow lxml under IronPython or a version of lxml that doesn't have those C-extension dependencies?
推荐答案
您可以检查出的,这是一个开源项目,目的是为了使C扩展的Python提供IronPython的。
You might check out IronClad, which is an open source project intended to make C Extensions for Python available in IronPython.
这篇关于如何获得LXML IronPython的下工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!