Hi,

please try to format your mail a little more readable next time. Also, 
please use the cython-users mailing list instead of the developers mailing 
list.

velociraptor Genjix, 30.08.2010 20:30:
> Cython a few weeks ago was fine with Python 3. But now after I build (python 
> setup.py build) and then run setup.py, I get:
> gen...@l:~/Public/cython$ python setup.py build_extrunning build_ext... File 
> "/home/genjix/Downloads/Cython-0.13/Cython/Compiler/Main.py", line 35    
> print t.dump()          ^SyntaxError: invalid syntax

Interesting, the "build_ext" target doesn't run the refactoring step.

You can install it normally, though, e.g. using the "install" or "bdist" 
targets.


> After adding (, )'s around that print and going through fixing some syntax 
> errors:
> # here's the new exception style in python 3 fyiexcept (Exc1, Exc2) as e:    
> ...
> It runs but I get,
> failed to import Cython: No module named Codeerror: Cython does not appear to 
> be installed
> Indeed, /Cython/ has no module named Code:CodeWriter.py  Includes      
> Runtime          TestsCompiler       __init__.py   Shadow.py        
> TestUtils.pyDebugging.py   __init__.pyc  Shadow.pyc       Utils.pyDistutils   
>    Plex          StringIOTree.py

The source file in in the archive, so I guess you have broken something 
while editing the files. Please retry with the unmodified Cython release.

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to