[Pyrex] C-API implementation in Pyrex 0.9.6

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Oct 15 13:10:52 CEST 2007


Stefan Behnel wrote:
> but that fails as Pyrex is then looking for "lxml.etree.pxd".

Yes. That's still the way Pyrex deals with modules inside
packages. See "Source Files and Compilation" in the Language
Overview.

I'm thinking about ways to do it better, but that's how
it works for the moment.

> BTW, Cython sets the correct module name based on what you tell distutils

Which isn't any help if you're not using distutils.

--
Greg



More information about the Pyrex mailing list