When I was reviewing how other distributions where packaging numpy* packages I found that Fedora and openSuSE are doing: rm -v PKG-INFO That way they force cython run due to this in setup.py if run_build: from numpy.distutils.core import setup cwd = os.path.abspath(os.path.dirname(__file__)) if not os.path.exists(os.path.join(cwd, 'PKG-INFO')): # Generate Cython sources, unless building from source release generate_cython() metadata['configuration'] = configuration I am unsure if we are not doing it on purpose... but, for letting you know before I forget about it :)
I think running cython would only be necessary if we actually patched the numpy source code. Otherwise, it's a waste of CPU time.
Fine, thanks a lot :)