[Cython] cimport across packages

Jay Parlar parlar at gmail.com
Thu Jul 10 14:49:15 CEST 2008


On 7/10/08, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Hi,
>
>  I assume you are using Cython 0.9.8?

Yes. I wasn't (I'd forgotten to upgrade this machine), but I'm getting
the same behaviour with 0.9.8

>
>
>  Jay Parlar wrote:
>  > I'm having trouble with .pxd files across packages.
>  >
>  > My main program directory has a few packages in it, one called 'sm'
>  > and one called 'filters'.
>
>
> Are these really packages? I.e. do they have an __init__.py file?

Yep. They've been performing fine as packages before, but now I'm
trying to add the .pxd files so I can use cdef functions between
modules, and thus the beginning of my pain.

Jay P.


More information about the Cython-dev mailing list