[Pyrex] Help for public Python extension types.

Daehyok Shin sdhyok at gmail.com
Sat Jun 28 14:30:41 CEST 2008


I found an error in my setup.py.
When I replaced
            Extension("xxx.yyy.zzz.test", ...)
with
            Extension("test", ...)
, no more extra path was created. The problem is solved. Thanks all
your replies.

Daehyok

On Sat, Jun 28, 2008 at 1:32 AM, Stefan Behnel <stefan_ml at behnel.de> wrote:
>
> 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
>
>



-- 
Daehyok Shin, PhD
Geography Department
University of North Carolina-Chapel Hill
USA



More information about the Pyrex mailing list