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; charset=UTF-8 > > Dimitri Tcaciuc, 02.02.2

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

Re: [Cython] [cython-users] Re: How to find out where an AttributeError is ignored

2012-02-01 Thread Robert Bradshaw
On Tue, Jan 31, 2012 at 8:30 AM, mark florisson wrote: > On 31 January 2012 02:12, Robert Bradshaw > wrote: >> On Fri, Jan 27, 2012 at 1:01 PM, Stefan Behnel wrote: >>> Dag Sverre Seljebotn, 27.01.2012 21:03: On 01/27/2012 05:58 PM, Stefan Behnel wrote: > mark florisson, 27.01.2012 17: