Dan Stromberg, 14.12.2009 17:27: > Stefan Behnel wrote: >> I assume you know that Cython can compile .py files and has a pure Python >> syntax for type declarations? >> >> http://wiki.cython.org/pure >> > Actually, I didn't know that. It's interesting, but I don't think it's > what I want; I'm looking for something that will allow my code to not > depend on cython at all in one form.
Your code /won't/ depend on Cython, that's what this is all about. All you need is a tiny cython.py file in your distribution that implements a dummy 'cython' module (we actually ship that). That's all you add as a "dependency" to your otherwise normal Python code. It will run in the normal Python interpreter, although it will run faster if you use Cython to compile it. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
