Joost Cassee wrote:
> Public bug reported:
>
> Cython (0.9.6.13.1) allow pyx files to be placed in the package
> directory. When I do so, the accompanying pxd file is not found. An
> strace of cython shows it uses the package directory twice in building
> the path:
>
> ~/src$ strace cython package/module.pyx
> ...
> stat64("/home/user/src/package/package/module.pxd", 0xbf8b1f48) = -1 ENOENT (No such file or directory)
> ...
>
> On the other hand, if I name the module as in python I get a cython
> error:
>
> ~/src$ cython package.module.pyx
> ...
> IOError: [Errno 2] No such file or directory: '/home/user/src/package.module.pyx'
>
> On the other hand, an strace shows that the pxd file was found. :-)
Hi,
Joost Cassee wrote: "/home/ user/src/ package/ package/ module. pxd", 0xbf8b1f48) = -1 ENOENT (No such file or directory) user/src/ package. module. pyx'
> Public bug reported:
>
> Cython (0.9.6.13.1) allow pyx files to be placed in the package
> directory. When I do so, the accompanying pxd file is not found. An
> strace of cython shows it uses the package directory twice in building
> the path:
>
> ~/src$ strace cython package/module.pyx
> ...
> stat64(
> ...
>
> On the other hand, if I name the module as in python I get a cython
> error:
>
> ~/src$ cython package.module.pyx
> ...
> IOError: [Errno 2] No such file or directory: '/home/
>
> On the other hand, an strace shows that the pxd file was found. :-)
Have you tried
cython package/ package. module. pyx
and naming the .pxd alike?
Stefan