Re: [Cython] import-free setuptools integration

2016-02-12 Thread Nils Werner
I understand. Maybe it is then better to remove the extension-swapping and ask the developer to specifically decide which extension is a cython_module and which is an ext_module (and potentially have duplicate definitions of the same extension): setuptools.setup( # ... ext_modu

Re: [Cython] import-free setuptools integration

2016-02-07 Thread Greg Ewing
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

[Cython] import-free setuptools integration

2016-02-06 Thread Nils Werner
I have implemented some very simple setuptools integration that circumvents the requirement to `import cython` in `setup.py` entirely, doing away with the century-old problem of having to importing requirements during installation: This implementation i