[lxml-dev] cython + python2.4 problem (was: objectify factories)
jholg at gmx.de
jholg at gmx.de
Mon Sep 3 12:59:29 CEST 2007
Hi,
> the trunk now builds with Cython instead of Pyrex, so please install it to
> get
> rid of the one failing doctest. (the reason the test fails is that Cython
> knows about the package you specify in distutils, Pyrex ignores it).
>
> http://www.cython.org/
>
> lxml requires Cython 0.9.6.5.
Lazy me, not like you hadn't announced that quite a while ago.
However, unfortunately:
Just downloaded cython and tried to build lxml:
0 lb54320 at adevp02 .../lxml $ /apps/pydev/bin/python2.4 setup.py build
Traceback (most recent call last):
File "setup.py", line 28, in ?
import setupinfo
File "/data/pydev/hjoukl/LXML/lxml/setupinfo.py", line 5, in ?
from Cython.Distutils import build_ext as build_pyx
[...]
File "/apps/pydev/lib/python2.4/site-packages/Cython/Compiler/TypeSlots.py", line 88
full_args = "O" + self.fixed_arg_format if self.has_dummy_arg else self.fixed_arg_format
^
SyntaxError: invalid syntax
Seems like cython relies on Python2.5 syntax, which renders it unusable for me. Any chance to remove the hard 2.5-syntax-dependency? At a quick glance this seems to be the only place where conditional expressions turn up.
Holger
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
More information about the lxml-dev
mailing list