David Jagoe wrote:
> It seems that there are three
> possible ways of deploying a Cython application cross-platform:
>
> 1. Run Cython on all the platforms (and use Cython.DistUtils to manage
> deployment)
>
> 2. Run Cython on Linux only
>    - do the pyx -> c compilation step on Linux
>    - Use standard distutils + gcc on each platform to build the
> application
>
> [...]
> I'm not sure: does the Cython compiler
> generate C that can be compiled on any platform with python dev headers
> and the appropriate compiler available?

2) is actually the preferred way of doing it. Cython does not generate
platform-specific code, regardless of the system you run it on.

The usual way is to build a source distribution once (including the
generated .c files in MANIFEST.in) and then just build that on other
systems using distutils but without Cython.

Stefan

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

Reply via email to