[Pyrex] ANN: Pyrex 0.9.4 - LValue Casts are Dead!

Stefan Behnel behnel_ml at gkec.informatik.tu-darmstadt.de
Tue Apr 18 08:31:41 CEST 2006


Mateusz Korniak wrote:
> One issue:
> 
>>>> import build_ext.py
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "build_ext.py", line 70
>     result = compile(source, options)
>                                     ^
> IndentationError: unindent does not match any outer indentation level


Since there wasn't a reply to this so far (or maybe the ML is just currently
broken), I attached the fix.

I'd also be happy if the following little patch was applied in the fixed
version to enable the use of setuptools in setup.py (for eggs and the like).

Stefan


--- setup.py~   2006-04-18 08:19:46.000000000 +0200
+++ setup.py    2006-04-18 08:19:46.000000000 +0200
@@ -1,4 +1,8 @@
-from distutils.core import setup
+try:
+    from setuptools import setup
+except ImportError:
+    from distutils.core import setup
+
 from distutils.sysconfig import get_python_lib
 import os
 from Pyrex.Compiler.Version import version
-------------- next part --------------
A non-text attachment was scrubbed...
Name: distutils-tab-fix.patch
Type: text/x-patch
Size: 578 bytes
Desc: not available
Url : http://lists.copyleft.no/pipermail/pyrex/attachments/20060418/a9044710/distutils-tab-fix.bin


More information about the Pyrex mailing list