Lisandro Dalcin wrote: > On Thu, Aug 28, 2008 at 12:26 AM, Jay Parlar <[EMAIL PROTECTED]> wrote: >>> On Wed, Aug 27, 2008 at 10:43 PM, Simon Burton <[EMAIL PROTECTED]> wrote: >>> >>> i went through something similar recently, >>> and had to add include_dirs=["."] in my Extension definitions in setup.py >> Brilliant, that seems to have done it! I still have to have my >> symlinks, but it's a starting point. > > Could you try to remove your hack? I mean, instead of having > foo.bar.pxd inside 'foo' package directory, just use 'bar.pxd', in > such a way yo have: > > $ tree foo/ > foo/ > |-- __init__.pyx > |-- bar.pxd > `-- bar.pyx > > This works just fine for me.
Also, check out the wiki page: http://wiki.cython.org/PackageHierarchy for some details. _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
