I have the following directory structure
/module1
/scripts/cythoncode/
test1.pyx
test1.pxd
test2.pyx [test2.pyx imports test1.pxd]
I can import the module in cython code. However, when I copy the *.so
files from cythoncode to /module1. The following command
import module1.test2 as test2
raises an error saying that it cannot import test1.pxd. However, when
I add the directory /module1 to the sys.path everything works fine.
Can someone help me understand why import module1.test2 does not work?
Thanks,
Vineet
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev