Gabriel Gellner wrote:

> Suppose I want the following structure:
> 
>     foo/
>        math.pxd
>        param.pxd
> 
> So that I can do
> 
>     cimport foo
> 
>     foo.math.func()
>     foo.param.PI

You should be able to do that by putting an __init__.py
into foo, as long as the directory containing foo is on
Cython's include path.

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

Reply via email to