[Cython] import-free setuptools integration

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Feb 7 15:38:27 EST 2016


Nils Werner wrote:
>  - Having `cythonize()` internally automatically compile *.pyx files 
> when *.c files
>    are provided is disabled by default and must be enabled using the 
> `replace_extension`
>    keyword argument (`cython_modules` enables that option).

I'd be happier if it were still disabled by default even then.
If I'm simply installing a package, I do *not* want it to
try to recompile any .pyx files just because I happen to have
cython installed.

I know that isn't supposed to happen unless the .pyx is newer
than the .c, but I wouldn't like to rely on that. There's a
big difference between using a package and modifying it, and
I'd rather be explicit about when I'm doing the latter.

-- 
Greg


More information about the cython-devel mailing list