Ticket #7 (closed defect: worksforme)
Problems with automatic pxd inclusion
| Reported by: | robertwb | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | 0.10 |
| Component: | Build System | Keywords: | |
| Cc: |
Description
Joost Cassee wrote:
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. :-)
Change History
Note: See
TracTickets for help on using
tickets.
