[lxml-dev] lxml Mac installation idea
Ian Bicking
ianb at colorstudy.com
Mon Nov 17 18:18:32 CET 2008
Stefan Behnel wrote:
> Guntsche Michael wrote:
>> Here the last incarnation of my patch. I got rid of setting the
>> environment variables and deleting them afterwards.
>> Should have done it like this in the first place.
>
> Thanks a bunch. I rewrote the patch somewhat to restrict the changes to
> MacOS. If I didn't break it by doing that, the current trunk should work
> out-of-the-box now, if you pass "--static-deps" to setup.py, or set
> "STATIC_DEPS=true" in your env variables.
>
> Anyone wants to give it a try?
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. selftest.py and
selftest2.py run and work, though (I just noticed those, I'm not clear
what they do?)
--
Ian Bicking : ianb at colorstudy.com : http://blog.ianbicking.org
More information about the lxml-dev
mailing list