[Cython] build cython-devel on Windows fails if MSVC not available
Lisandro Dalcin
dalcinl at gmail.com
Tue Nov 18 00:00:58 CET 2008
On Mon, Nov 17, 2008 at 3:33 PM, Robert Bradshaw
<robertwb at math.washington.edu> wrote:
> On Nov 17, 2008, at 9:05 AM, Stefan Behnel wrote:
>
> I'm not sure the best way to check for compiler presence,
I´ll not follow that path. Checking for compilers is going to be a
nightmare. I´ll just try and catch errors if the C compiler fails for
whatever reason in any system and emit a one line (of perhaps a
three-line banner?) warning. All this by implementing in setup.py a
custom build_ext command inheriting from distutils one and passing a
'cmdclass' dict argument to setup() function.
> but it
> seems compiling should be the default as 99% of the users who use
> Cython will be using it with a compiler (otherwise, what's the point?).
What about if cross-compiling for other platforms? No idea if this
make sense, though ;-).
>>> Unless a user actually open and take a look at setup.py, there is no
>>> way to discover the '--no-cython-compile' flag.
>>
>> Yes, a good help message would be good.
>
> +1
OK, I´ll try to writhe a patch by tomorrow, and then send it for
review and comments.
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
More information about the Cython-dev
mailing list