[Pyrex] major cimport problems - attachment

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Nov 26 10:20:24 CET 2007


Jim Kleckner wrote:
> Greg, would you mind taking a look at the example that
> I uploaded below to see why the module is not possible
> to reference as a fully-qualified package.module.function()?
>   http://wiki.cython.org/PackageHierarchy?action=AttachFile

There's no __init__.py in the cimport directory, so
Python doesn't think it's a package.

When I add one, your example seems to work for me.

--
Greg



More information about the Pyrex mailing list