Daehyok Shin wrote: The xxx/yyy/zzz/test.pyx in > xxx/ __init__.py > yyy/ __init__.py > zzz/ __init__.py > test.pyx > test.pxd should compile just fine and create a xxx/ yyy/ zzz/ > test.so that you can import as > from xxx.yyy.zzz import test Are you using distutils? Stefan