Hi,
I'm not sure this is the correct place to post this.
I just installed cython 0.9.8 on my computer, which runs python 2.3. I
got two error that could be fixed quite easily, and which may have to
do with the fact that my python is quite old.
The first is in the file Cython/Compiler/TreeFragment.py, which in
line 136 reads
minindent = min(len(INDENT_RE.match(x).group(0)) for x in lines), but
for my version of python has to be changed to
minindent = min([len(INDENT_RE.match(x).group(0)) for x in lines])
(explicit list comprehension). This should also work in newer versions
of python.
The other is in setup.py, where lines 15-16 are
setup_args['data_files'] = [
{compiler_dir, ['Cython/Compiler/Lexicon.pickle']}]
which I changed to
setup_args['data_files'] = [
(compiler_dir, ['Cython/Compiler/Lexicon.pickle'])]
because I saw that (my installed version of) distutils expected a
tuple, not a dictionary. I don't know if this would still work with
later or other versions of distutils.
Greetings,
Utpal
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---