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?)

> And I am wondering if there is a way to use Cython.distutils to  
> build the executable.
>
> Any pointers to docs or an example application would be appreciated.

I've never done it myself, but Lisandro's suggestions look good.

- Robert


_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to