On Mon, 2009-07-13 at 23:55 -0700, Robert Bradshaw wrote:
> On Jul 13, 2009, at 2:19 PM, Soeren Apel wrote:
> 
> > move_relative.pyx:10:23: 'move_relative' is not a cimported module
> >
> > I neither understand the meaning of the error message, nor does it  
> > give
> > any helpful clues as to how the problem can be resolved. With that,  
> > I'm
> > kind of stuck.
> 
> I'm not sure what that error means either. I could expect "'evas is  
> not a cimported module."

That's exactly what I was thinking, too. Since you and I both think this
I'm wondering if this is a bug. Should I file one?


> It looks like their directory structure is
> 
> /evas
>      evas.c_evas.pyx  # creates the module evas.c_evas, I'm really  
> tempted to depreciate the dotted-filename style of package naming

While you may of course go ahead and deprecate this, python-evas is
apparently on the way to solving this for python-evas:
http://trac.enlightenment.org/e/changeset/35233


> Somehow /include/evas is in your include path, rather than just / 
> include. You need to "cimport evas.c_evas as c_evas" (or "as evas" if  
> you want).

Thanks, fixing the include path along with the cimport is exactly what
solved my problem. Thanks a ton! :)

-Soeren


_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to