Robert Bradshaw <[EMAIL PROTECTED]> writes: > > On Sep 28, 2008, at 11:40 PM, Amir wrote: > > > > > I would like to create a simple embedded cython executable like the > > example in > > the Python docs (5. Embedding Python in Another Application). I > > started with the > > Cython wiki link pointing to David McNab's pyrex embedding tutorial > > but am not > > sure how to proceed. Was wondering if anyone had done this with a > > recent Cython > > version. > > > > The python pxd's don't seem to have Py_Initialize, Py_Finalize, > > PySys_SetArgv > > used in David's tutorial. I'm guessing there is a good reason for > > this. > > Actually, there's not as far as I know. We should add them (could you > want to submit a pxd file?)
I don't know enough yet about Python internals to submit a pxd. I asked the question out of curiosity. I was reading the Python docs to understand the annotated code generated by Cython and noticed the section on embedding python, which didn't seem to have a counterpart in Cython. Thanks, Amir _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
