Re: Building an extension module with SWIG

2015-05-30 Thread Stefan Behnel
garyr schrieb am 30.05.2015 um 22:48: > *snip* > >> Compile it ("cythonize -b foo.pyx") and you'll get an extension module >> that >> executes faster than what SWIG would give you and keeps everything in one >> file to improve readability. >> >> [1] http://cython.org/ > > Thanks for your reply. M

Re: Building an extension module with SWIG

2015-05-30 Thread garyr
"garyr" wrote in message news:mkco9p$gf8$1...@speranza.aioe.org... > I'm trying to create an extension module using SWIG. I've > succeeded in generating a pyd file but when I import the module I get the > error message: "SystemError: dynamic module not initialized properly." I > added an initfoo

Re: Building an extension module with SWIG

2015-05-30 Thread garyr
"garyr" wrote in message news:mkd7nk$isi$1...@speranza.aioe.org... > *snip* > >> Compile it ("cythonize -b foo.pyx") and you'll get an extension module >> that >> executes faster than what SWIG would give you and keeps everything in one >> file to improve readability. >> >> Stefan >> >> >> [1] ht

Re: Building an extension module with SWIG

2015-05-30 Thread garyr
*snip* > Compile it ("cythonize -b foo.pyx") and you'll get an extension module > that > executes faster than what SWIG would give you and keeps everything in one > file to improve readability. > > Stefan > > > [1] http://cython.org/ > > Thanks for your reply. My interest is not in computing the g

Re: Building an extension module with SWIG

2015-05-30 Thread Stefan Behnel
garyr schrieb am 30.05.2015 um 18:22: > I'm trying to create an extension module using SWIG. I've > succeeded in generating a pyd file but when I import the module I get the > error message: "SystemError: dynamic module not initialized properly." I > added an initfoo() function but that didn't solv

Building an extension module with SWIG

2015-05-30 Thread garyr
I'm trying to create an extension module using SWIG. I've succeeded in generating a pyd file but when I import the module I get the error message: "SystemError: dynamic module not initialized properly." I added an initfoo() function but that didn't solve the problem. Below are the various files, a