Cythonize but not compile .pyx files using setup.py
问题 I have a Cython project containing several .pyx files. To distribute my project I would like to provide my generated .c files as recommended in the Cython documentation, to minimize problems with different Cython versions. My current work flow is to build the project using: me@machine$ python setup.py build_ext --inplace This cythonizes (i.e. translate .pyx files to .c / .cpp files using Cython) all .pyx files and then compiles them. For a release I do not need the compiled ( .so ) files, so