Re: [Cython] Cannot cythonize subclasses of setuptools.extension._Extension

2016-04-16 Thread Erik Bray
On Apr 14, 2016 21:07, "Manuel Nuno Melo" wrote: > > Our need to control cythonization comes from the fact that we implement cython as a lazy and optional dependency. Lazy in the sense that we delay as much as possible cythonization so that setuptools or pip have time to install cython, if needed.

Re: [Cython] Cannot cythonize subclasses of setuptools.extension._Extension

2016-04-16 Thread Manuel Nuno Melo
Hi Erik, Please post your solution; I'm curious to see it. Currently, we're also using setup_requires but are moving away from it because of two main issues: 1- there's no flexibility to hook into it via setuptools.Distribution subclassing (unless you rewrite the entire __init__); 2- (and more s