On Fri, 31 Jul 2009 18:53:22 +0200, Cyrille Rosset wrote: > Hi all, > > I am using cython and numpy and looked for a way to get cython modules > using numpy compiled with pyximport. > I found on the list the following message > (http://codespeak.net/pipermail/cython-dev/2009-May/005289.html) but > didn't find any modification in the cython repository in this direction. > > Following Lisandro DalcĂn's suggestion, I made a patch that adds a > ext_opts option to pyximport.install() which cascades to > pyximport.get_distutils_extension() and is used as a dictionnary with > options for distutils.Extension(). > Only the dictionnary type is tested (I assume Extension will tell if an > option is not good). > I also added a pyximport.unsinstall() function (so it's possible to > change options of the importer).
Can't you simply use **kwargs instead of ext_opts? -- Giovanni Bajo Develer S.r.l. http://www.develer.com _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
