I've pushed an implementation of http://wiki.cython.org/enhancements/distutils_preprocessing . This allows one do write, e.g.
module_list = cythonize("*.pyx") in your setup.py, and it handle the .pyx dependencies (including transitive dependence of libraries) and does all the .pyx -> .c translation. (In particular, this does away with the need for a customized build_ext extension, which is especially nice for projects their own. There are also mechanisms for specifying more build information in the source file itself--see http://hg.cython.org/cython-devel/file/tip/tests/build/inline_distutils.srctree for an example. This will also be useful for non-distutils setups (e.g. pyximport and inline code). Try it out and let me know what you think in terms of features and API. - Robert _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion