[Cython] Cython 0.11 release candidate

Neal Becker ndbecker2 at gmail.com
Tue Mar 10 02:06:34 CET 2009


Stefan Behnel wrote:

> 
> Stefan Behnel wrote:
>> Did you check if the
>> directory in which you run the tests has a file
>> "Cython/Runtime/refnanny.pyx"?
> 
> Ah, does this patch fix it?
> 
> diff -r 474a2405291b MANIFEST.in
> --- a/MANIFEST.in       Sun Mar 08 14:18:27 2009 +0100
> +++ b/MANIFEST.in       Mon Mar 09 20:01:52 2009 +0100
> @@ -7,6 +7,7 @@
>  include cython.py
>  include Cython/Compiler/Lexicon.pickle
>  include Cython/Includes/*.pxd
> +recursive-include Cython *.pyx
>  include Doc/*
> 
>  include Demos/*.pyx
> 
> Stefan

No, this patch made no difference.
python setup.py install -O1 --skip-build --root 
~/RPM/BUILDROOT/Cython-0.11-1rc.fc1\
0.x86_64/
Compiling module Cython.Plex.Scanners ...
Compiling module Cython.Compiler.Scanning ...
Compiling module Cython.Compiler.Parsing ...
Compiling module Cython.Compiler.Visitor ...
Compiling module Cython.Runtime.refpython setup.py build
Compiling module Cython.Plex.Scanners ...
Compiling module Cython.Compiler.Scanning ...
Compiling module Cython.Compiler.Parsing ...
Compiling module Cython.Compiler.Visitor ...
Compiling module Cython.Runtime.refnanny ...
ERROR: [Errno 2] No such file or directory: 
u'/home/nbecker/RPM/BUILD/Cython-0.11.rc/Cython/Runtime/refnanny.pyx'
Extension module compilation failed, using plain Python implementation
running build
running build_py
running build_scripts

python setup.py install -O1 --skip-build --root 
~/RPM/BUILDROOT/Cython-0.11-1rc.fc10.x86_64/
Compiling module Cython.Plex.Scanners ...
nanny ...
ERROR: [Errno 2] No such file or directory: 
u'/home/nbecker/RPM/BUILD/Cython-0.11.rc/Cython/Runtime/refnanny.pyx'
Extension module compilation failed, using plain Python implementation
running install
running install_lib
writing byte-compilation script '/tmp/tmpTN0AmD.py'
/usr/bin/python -O /tmp/tmpTN0AmD.py
removing /tmp/tmpTN0AmD.py
running install_scripts
changing mode of 
/home/nbecker/RPM/BUILDROOT/Cython-0.11-1rc.fc10.x86_64/usr/bin/cython to 
755
running install_egg_info
Removing 
/home/nbecker/RPM/BUILDROOT/Cython-0.11-1rc.fc10.x86_64/usr/lib/python2.5/site-
packages/Cython-0.11.rc-py2.5.egg-info
Writing 
/home/nbecker/RPM/BUILDROOT/Cython-0.11-1rc.fc10.x86_64/usr/lib/python2.5/site-
packages/Cython-0.11.rc-py2.5.egg-info

$ python runtests.py
Running tests against Cython 0.11.rc
Python 2.5.2 (r252:60911, Sep 30 2008, 15:42:03)
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)]

Traceback (most recent call last):
  File "runtests.py", line 559, in <module>
    pyxbuild_dir=os.path.join(WORKDIR, "support"))
  File "/home/nbecker/RPM/BUILD/Cython-0.11.rc/pyximport/pyxbuild.py", line 
26, in pyx_to_dll
    assert os.path.exists(filename)
AssertionError





More information about the Cython-dev mailing list