Commit 63de2433 authored by Stefan Behnel's avatar Stefan Behnel

Force retranslate Cython modules in "new_build_ext" if "-f" option is passed...

Force retranslate Cython modules in "new_build_ext" if "-f" option is passed to "build_ext" command.
parent 630f0124
......@@ -18,7 +18,7 @@ class new_build_ext(_build_ext, object):
nthreads = int(nthreads) if nthreads else None
from Cython.Build.Dependencies import cythonize
self.distribution.ext_modules[:] = cythonize(
self.distribution.ext_modules, nthreads=nthreads)
self.distribution.ext_modules, nthreads=nthreads, force=self.force)
super(new_build_ext, self).finalize_options()
# This will become new_build_ext in the future.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment