[Cython] ImportError with cimport within package

Mikael Arvids mikael.arvids at enea.com
Fri Feb 27 10:20:35 CET 2009


Robert Bradshaw <robertwb at ...> writes:

> 
> Try moving setup.py up out of the package directory, and then building
> 
>    A_module = Extension('package.module_A',
>                        sources = ['package/module_A.pyx'])
> ...
> 
> - Robert
> 
> 

Thanks! Solved the problem.

/ Mikael





More information about the Cython-dev mailing list