On 28 June 2010 22:16, Jared Forsyth <[email protected]> wrote: > Here's an example directory structure: > one/ > one/__init__.py > one/two/ > one/two/__init__.py > one/two/foo.pyx > one/two/bar.pxd > one/two/bar.pyx > one/two/baz.pxd > foo cimports bar and baz. > baz defined some structs, and so has to be cimported by bar.pxd > In order to do this, in foo.pyx and bar.pyx >> >> from one.two.baz cimport * > > whereas in bar.pxd >> >> from baz cimport * > > I believe it should be consistent -- require the full package namespacing in > pxd files.
Are you using cython-devel repo? If you can reproduce this with cython-devel, could you send a tarball/zip with the self-contained example (including a shell script or setup.py file showing how you cythonize the *.pyx sources)? I'm really bussy, but if you help me a bit, I can help you to get this fixed. -- Lisandro Dalcin --------------- CIMEC (INTEC/CONICET-UNL) Predio CONICET-Santa Fe Colectora RN 168 Km 472, Paraje El Pozo Tel: +54-342-4511594 (ext 1011) Tel/Fax: +54-342-4511169 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
