[lxml-dev] lxml Mac installation idea
Stefan Behnel
stefan_ml at behnel.de
Mon Nov 17 19:32:33 CET 2008
Hi,
Ian Bicking wrote:
> I installed it on 10.5, with the system Python:
>
> $ uname -a
> Darwin mouna.openplans.org 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep 3
> 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386
> $ sw_vers
> ProductName: Mac OS X
> ProductVersion: 10.5.5
> BuildVersion: 9F33
>
> I had to run "make realclean" first to clean out the previous build
> (which had iconv problems). For some reason the tests won't run because
> it can't find the library (I installed it in a virtualenv), even though
> when I run python directly lxml imports just fine.
I guess that's acceptable for now, unless it proves to be a general problem.
> selftest.py and
> selftest2.py run and work, though (I just noticed those, I'm not clear
> what they do?)
Those are copied from ElementTree for compatibility purposes. Not
particularly well portable tests (e.g. tests for XML byte sequence
equality), but they do mostly well in lxml.
Stefan
More information about the lxml-dev
mailing list