[Pyrex] Getting full package paths in extension __module__ attributes?

Greg Ewing greg.ewing at canterbury.ac.nz
Wed May 2 02:27:03 UTC 2007


Alex Coventry wrote:
> I have a file in evolution/hmmer/rind/_F81.pyx, corresponding to an
> extension module with package path evolution.hmmer.rind._F81.

You need to name the source file "evolution.hmmer.rind._F81.pyx".
I added some documentation about this recently, see

http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/version/Doc/overview.html#SourceFiles

--
Greg



More information about the Pyrex mailing list