On 7 April 2012 01:14, Maarten Derickx <m.derickx.stud...@gmail.com> wrote: > Does executing: > > import foo > > give what you want or is your problem different?
import foo doesn't do much, as foo/__init__.py is empty. I have adopted the Sage-like behaviour of having an "all.py" file which has "from bar import *" statements. The issue is that all.py contains lines like: from bazz import * from bar import * For some reason, the line corresponding to the bar.so file imports things into the top-level of the name space, rather than as foo.bar.xxxx. I can't find anything in the Cython docs or anywhere else about how to stop this. The Sage Cython modules seem to be imported into the correct places in the namespace hierarchy, so it must be possible... Emil -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org