Re: [Cython] distutils extension pxd problem

2012-02-01 Thread Dimitri Tcaciuc
> Date: Thu, 02 Feb 2012 08:11:16 +0100 > From: Stefan Behnel > To: Core developer mailing list of the Cython compiler >         > Subject: Re: [Cython] distutils extension pxd problem > Message-ID: <4f2a3714.7000...@behnel.de> > Content-Type: text/plain; charse

Re: [Cython] distutils extension pxd problem

2012-02-01 Thread Dimitri Tcaciuc
Ok, so I narrowed the problem down to https://github.com/cython/cython/blob/master/Cython/Compiler/Main.py#L223. At this point, it looks like if target extension name is `x.y.z`, the pxd must either be called `x.y.z.pxd` and be located in project root (I believe this is Pyrex convention?) or be in

Re: [Cython] distutils extension pxd problem

2012-02-01 Thread Stefan Behnel
Dimitri Tcaciuc, 02.02.2012 01:53: > I bumped into an issue where my .pyx file doesn't see its matching > .pxd file. Here's a build test to show the problem If I change my > target package from `b.a` to just `a`, it works as expected. Running > `cython src/a.pyx` works as expected as well, but not

[Cython] distutils extension pxd problem

2012-02-01 Thread Dimitri Tcaciuc
Hey everyone, I bumped into an issue where my .pyx file doesn't see its matching .pxd file. Here's a build test to show the problem If I change my target package from `b.a` to just `a`, it works as expected. Running `cython src/a.pyx` works as expected as well, but not the Extension. PYTHON